fix: enable and fixes rules from testifylint on test package

Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
This commit is contained in:
Matthieu MOREL
2024-06-29 17:28:30 +00:00
parent fa75b4371d
commit 7bccbaf996
19 changed files with 19 additions and 41 deletions

View File

@@ -44,7 +44,7 @@ func TestNewGomega(t *testing.T) {
t.Errorf("unexpected failure: %s", err.Error())
}
err := Gomega().Expect("hello").ToNot(gomega.Equal("hello"))
require.NotNil(t, err)
require.Error(t, err)
assert.Equal(t, `Expected
<string>: hello
not to equal