Skip to content

Commit f5aded3

Browse files
committed
assert: TestPathDebug: fix missing assertion
assert/opt/opt_test.go:254:20: unused-parameter: parameter 't' seems to be unused, consider removing or renaming it as _ (revive) func TestPathDebug(t *testing.T) { ^ Signed-off-by: Sebastiaan van Stijn <[email protected]>
1 parent 8375bfb commit f5aded3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

assert/opt/opt_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,5 +261,5 @@ func TestPathDebug(t *testing.T) {
261261
"label1": {},
262262
},
263263
}
264-
gocmp.Equal(fixture, fixture, gocmp.FilterPath(PathDebug, gocmp.Ignore()))
264+
assert.Check(t, gocmp.Equal(fixture, fixture, gocmp.FilterPath(PathDebug, gocmp.Ignore())))
265265
}

0 commit comments

Comments
 (0)