mirror of
https://gitee.com/johng/gf
synced 2026-06-06 02:25:47 +08:00
t.Assert(err, nil) -> t.AssertNil(err)
This commit is contained in:
@ -251,7 +251,7 @@ func Test_Next(t *testing.T) {
|
||||
t.Assert(err.Error(), "1")
|
||||
|
||||
err = gerror.Next(err)
|
||||
t.Assert(err, nil)
|
||||
t.AssertNil(err)
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user