Closed mgleska closed 1 month ago
Proposed solution in PR #113
This doesn't seem backwards-compatible at all. Even though it may be considered "wrong" to only compare values, ignoring keys, some of my tests were relying on this behaviour, so I'm not sure why this was released with a minor version bump.
Summary
Consider following arrays:
['a' => 1 , 'b' => 2]
and['c' => 1, 'd' => 2]
Comparing these arrays in canonicalize mode do not throwComparisonFailure
exception.How to reproduce
Current response
Expected response Both tests passing with success.