Skip to content

Commit

Permalink
update error message
Browse files Browse the repository at this point in the history
  • Loading branch information
lmiq committed Dec 18, 2024
1 parent f3a511e commit 22e2c24
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ julia> parse_show(a) ≈ "Object with Int(2), /usr/bin/bash and [1.0, 3.1415, 7.
ERROR: AssertionError:
show method comparison failed with 1 (Int64) == 2 (Int64)
show method comparison failed for 1 (Int64) == 2 (Int64)
Stacktrace:
Expand Down
2 changes: 1 addition & 1 deletion src/ShowMethodTesting.jl
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ function Base.isapprox(
if assertion_error
throw(AssertionError("""\n
show method comparison with $x1 ($(typeof(x1))) == $x2 ($(typeof(x2)))
show method comparison failed for $x1 ($(typeof(x1))) == $x2 ($(typeof(x2)))
"""))
end
Expand Down

0 comments on commit 22e2c24

Please sign in to comment.