Skip to content

Commit cdde573

Browse files
committed
Shorten the assertion
1 parent afcfcf2 commit cdde573

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/manager/validators_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ func TestCreateTypedValidator(t *testing.T) {
6161
result := v(test.obj)
6262

6363
if test.expectErr {
64-
g.Expect(result).To(Not(BeNil()))
64+
g.Expect(result).ToNot(BeNil())
6565
return
6666
}
6767

0 commit comments

Comments
 (0)