fix: enable and fixes rules from testifylint on test package
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user