mirror of https://github.com/stretchr/testify.git
Adjust NotNil error message
parent
ddcad49ec6
commit
6756bdecf4
|
@ -301,7 +301,7 @@ func NotNil(t TestingT, object interface{}, msgAndArgs ...interface{}) bool {
|
|||
}
|
||||
|
||||
if !success {
|
||||
Fail(t, "Expected not to be nil.", msgAndArgs...)
|
||||
Fail(t, "Expected value not to be nil.", msgAndArgs...)
|
||||
}
|
||||
|
||||
return success
|
||||
|
|
Loading…
Reference in New Issue