Bracken Dawson
e2e5626522
Add missing Helper calls to IsIncreasing et al
2024-02-24 14:56:17 +00:00
Bracken
685783ac52
Clarify error message for incorrect use of IsIncreasing et al
...
Because maps are collections but not ordered.
Co-authored-by: Olivier Mengué <dolmen@cpan.org>
2024-02-24 14:55:03 +00:00
Bracken Dawson
8b4aef060a
IsIncreasing et al can return false w/out failing
...
If you passed a non-collection to IsIncreasing or any of its compatriots then the assertion would return false without failing the test.
2024-02-24 14:55:03 +00:00
Harald Nordgren
4c93d8f201
EqualExportedValues: Handle nested pointer, slice and map fields ( #1379 )
...
* EqualExportedValues: Handle pointer and slice fields
* Update assert/assertions.go
Co-authored-by: Michael Pu <michael.pu123@gmail.com>
* Reduce redundant calls to 'copyExportedFields'
* Update comments
* Add support for maps
* Update Go version support to 1.19 and onward
* Re-generate after rebasing
---------
Co-authored-by: Michael Pu <michael.pu123@gmail.com>
2023-05-11 07:42:04 +10:00
Ilia Kravets
7bcf74e94f
fix msgAndArgs forwarding
2022-02-10 20:09:05 +10:00
alexpantyukhin
cf221cc875
add tests and fix message
2020-08-14 20:45:51 +10:00
alexpantyukhin
a9284e66a9
add assertion order
2020-08-14 20:45:51 +10:00
alexpantyukhin
6be346c1f1
rename order files to compare files
2020-03-09 08:00:09 +11:00
Alexander Pantyukhin
9388656beb
fix language
2020-03-06 19:44:08 +11:00
Alexander Pantyukhin
0b4ff03cda
update assertion_order.go according review notes
2020-03-06 19:44:08 +11:00
alexpantyukhin
d583a38000
fix with gofmt tool
2020-03-06 19:44:08 +11:00
alexpantyukhin
f4b48264a4
fix fmt
2020-03-06 19:44:08 +11:00
alexpantyukhin
c106be4ce3
refactoring of assertion_order
2020-03-06 19:44:08 +11:00
Miles Steele
ae5876d09a
change report wording, fix int stringification, fix doc
2019-07-08 11:49:27 -06:00
apantykhin
3f658bd5ac
add comparison
2019-02-19 09:07:39 -07:00