Commit debbdcb
committed
fix: aligned edge case behavior of EqualValues with Equal
all equality assertions should fail the same when input is a function.
fix: type safety added CanInterface guard to EqualExportedValues (even
if it seems currently impossible to make it panic with current reflect)
test: refactored equal tests
Signed-off-by: Frederic BIDON <fredbi@yahoo.com>1 parent 68cdfe9 commit debbdcb
13 files changed
Lines changed: 1693 additions & 1757 deletions
File tree
- docs/doc-site/project/maintainers
- internal/assertions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
26 | | - | |
| 25 | + | |
| 26 | + | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
0 commit comments