Description

NotNil asserts that the specified object is not nil.

a.NotNil(err, "err should be something")

Returns whether the assertion was successful (true) or not (false).