Closed oswanderson closed 4 years ago
This pull request implements the following assertions:
IsNil that helps avoiding Assert(value != nil).IsTrue(). IsNotNil IsZero for any type, but specially useful to assert that a struct is empty. IsNotZero
IsNil
Assert(value != nil).IsTrue()
IsNotNil
IsZero
IsNotZero
This pull request implements the following assertions:
IsNil
that helps avoidingAssert(value != nil).IsTrue()
.IsNotNil
IsZero
for any type, but specially useful to assert that a struct is empty.IsNotZero