Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
go-unixfs
Commits
46dc322f
Commit
46dc322f
authored
Oct 20, 2014
by
Henry
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed tests
parent
81f84d6c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
updates/updates_test.go
updates/updates_test.go
+3
-2
No files found.
updates/updates_test.go
View file @
46dc322f
...
...
@@ -17,8 +17,9 @@ func TestParseVersion(t *testing.T) {
func
TestShouldAutoUpdate
(
t
*
testing
.
T
)
{
tests
:=
[]
struct
{
setting
,
currV
,
newV
string
should
bool
setting
config
.
AutoUpdateSetting
currV
,
newV
string
should
bool
}{
{
config
.
UpdateNever
,
"0.0.1"
,
"1.0.0"
,
false
},
{
config
.
UpdateNever
,
"0.0.1"
,
"0.1.0"
,
false
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment