Commit 46dc322f authored by Henry's avatar Henry

fixed tests

parent 81f84d6c
......@@ -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},
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment