Skip to content

Commit

Permalink
test: remove unecessary type parameter (#112)
Browse files Browse the repository at this point in the history
  • Loading branch information
shoenig authored Mar 19, 2023
1 parent b50c798 commit b916b2b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion must/must.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion test.go
Original file line number Diff line number Diff line change
Expand Up @@ -733,7 +733,7 @@ func StructEqual[E interfaces.CopyEqual[E]](t T, original E, tweaks Tweaks[E], s
t.Helper()
invoke(t, assertions.StructEqual(
original,
util.CloneSliceFunc[Tweak[E], assertions.Tweak[E]](
util.CloneSliceFunc(
tweaks,
func(tweak Tweak[E]) assertions.Tweak[E] {
return assertions.Tweak[E]{Field: tweak.Field, Apply: tweak.Apply}
Expand Down

0 comments on commit b916b2b

Please sign in to comment.