add special display for ≈ test failures #19898
Labels
display and printing
Aesthetics and correctness of printed representations of objects.
Hacktoberfest
Good for Hacktoberfest participants
help wanted
Indicates that a maintainer wants help on an issue or pull request
testsystem
The unit testing framework and Test stdlib
As noted by @cstjean in #19880,
@test a ≈ b
differs from@test_approx_eq a b
in that the former doesn't display test failures quite as nicely. We already have specialized code for displaying some kinds of comparisons nicely, so perhaps we should have more logic there to display approximate equality failures as nicely as@test_approx_eq
does.The text was updated successfully, but these errors were encountered: