Make Expect throw ComparisonFailure when possible
Open
P3
type=enhancement
- Dominant language
- Java
- Stars
- 2.8k
- Forks
- 275
- Avg merge
- 7m
- Merged PRs (30d)
- 4
Description
Currently, it always throws `AssertionError`. But if there's only one failure and it's a `ComparisonFailure`, we should throw `ComparisonFailure`. Arguably we could throw `ComparisonFailure` even in the case of multiple failures, at least if only one input is a `ComparisonFailure`, though that's potentially confusing.
Contributor guide
Assessment
This issue has not been assessed yet.