Skip to content

Commit

Permalink
♻️ Add EquateEmpty to ApproxEqualOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
H1rono committed Dec 29, 2024
1 parent 2b90544 commit a31d262
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions testutil/cmp.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import (
func ApproxEqualOptions() []cmp.Option {
return []cmp.Option{
cmpopts.EquateApproxTime(time.Second),
cmpopts.EquateEmpty(),
}
}

Expand Down

0 comments on commit a31d262

Please sign in to comment.