fix: check testcase format

This commit is contained in:
debugtalk
2022-07-04 22:53:25 +08:00
parent 54442165d2
commit 481b19c3e6
2 changed files with 6 additions and 3 deletions

View File

@@ -221,7 +221,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()
}