@cryptotaxi247 / kubo / commits / 46dc322f8

fixed tests

Henry committed Oct 20, 2014 at 18:58 UTC 46dc322f822c687206c5b8f3ee3510c4cc6a8b1f
1 file changed +3 -2
updates/updates_test.go
+3 -2
@@ -17,8 +17,9 @@ func TestParseVersion(t *testing.T) {
17
18 func TestShouldAutoUpdate(t *testing.T) {
19 tests := []struct {
20 - setting, currV, newV string
21 - should bool
20 + setting config.AutoUpdateSetting
21 + currV, newV string
22 + should bool
23 }{
24 {config.UpdateNever, "0.0.1", "1.0.0", false},
25 {config.UpdateNever, "0.0.1", "0.1.0", false},