Improved code quality

This commit is contained in:
Eduard Urbach 2023-08-31 17:03:52 +02:00
parent 3ff7ac9a08
commit acec282709
Signed by: eduard
GPG key ID: 49226B848C78F6C8
16 changed files with 128 additions and 69 deletions

View file

@ -35,3 +35,11 @@ func TestNotNil(t *testing.T) {
assert.NotNil(t, make(chan byte))
assert.NotNil(t, TestNotNil)
}
func TestFailNil(t *testing.T) {
assert.Nil(fail(t), 0)
}
func TestFailNotNil(t *testing.T) {
assert.NotNil(fail(t), nil)
}