提交 46dc322f 作者: Henry

fixed tests

上级 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 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论