fix: unittest

This commit is contained in:
xucong053
2022-05-20 18:10:12 +08:00
parent a25cae0aa9
commit f155d6007d
10 changed files with 23 additions and 11 deletions
+1 -1
View File
@@ -207,7 +207,7 @@ func TestLoadTestCases(t *testing.T) {
if !assert.Nil(t, err) {
t.Fatal()
}
if !assert.Equal(t, len(testCases), 4) {
if !assert.Equal(t, 4, len(testCases)) {
t.Fatal()
}