mirror of
https://github.com/stretchr/testify.git
synced 2025-05-31 11:42:44 +00:00
Adjust NotNil error message
This commit is contained in:
parent
ddcad49ec6
commit
6756bdecf4
@ -301,7 +301,7 @@ func NotNil(t TestingT, object interface{}, msgAndArgs ...interface{}) bool {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if !success {
|
if !success {
|
||||||
Fail(t, "Expected not to be nil.", msgAndArgs...)
|
Fail(t, "Expected value not to be nil.", msgAndArgs...)
|
||||||
}
|
}
|
||||||
|
|
||||||
return success
|
return success
|
||||||
|
Loading…
x
Reference in New Issue
Block a user