t.Assert(err, nil) -> t.AssertNil(err)

This commit is contained in:
John Guo
2022-03-10 11:36:40 +08:00
parent eca3583845
commit 546b6b1724
118 changed files with 779 additions and 779 deletions

View File

@ -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)
})
}