Skip to content

Commit

Permalink
refact
Browse files Browse the repository at this point in the history
  • Loading branch information
adamluzsi committed Apr 15, 2024
1 parent c654d4c commit e1b54cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assert/pkgfunc.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ func Eventually[T time.Duration | int](tb testing.TB, durationOrCount T, blk fun

// OneOf function checks a list of values and matches an expectation against each element of the list.
// If any of the elements pass the assertion, then the assertion helper function does not fail the test.
func OneOf[V any](tb testing.TB, vs []V, blk func(it It, got V), msg ...Message) {
func OneOf[V any](tb testing.TB, vs []V, blk func(t It, got V), msg ...Message) {
tb.Helper()
Must(tb).AnyOf(func(a *A) {
a.name = "OneOf"
Expand Down

0 comments on commit e1b54cf

Please sign in to comment.