stretchr/testify
View on GitHubassert: NotNil accepts non-nillable types and doesn't fail
Open
#570 opened on Mar 7, 2018
help wanted
Description
isNil will always return false, so NotNil will always return true for int, string, struct, etc.
I would expect it to error with "invalid type".