Skip to content

Commit 49a2e02

Browse files
committed
Cosmetic fix
1 parent c5d681c commit 49a2e02

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

matchers/matchers.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ import (
1212
// will cause an ambiguity and gocmp will panic. Use a custom wrapper option in
1313
// this case.
1414
func DiffEq(x any, opts ...cmp.Option) gomock.Matcher {
15-
return cmpmock.DiffEq(x, append(opts, placeholders.Comparer())...)
15+
return cmpmock.DiffEq(x, placeholders.Comparer(), cmp.Options(opts))
1616
}

0 commit comments

Comments
 (0)