Skip to content

Commit

Permalink
Fix the error message test.
Browse files Browse the repository at this point in the history
After PR #162 the error message says "throwing" and not "showing".
  • Loading branch information
lupemba committed Nov 8, 2023
1 parent 83e8b0f commit 5a80178
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ end
_, messages = capture_logging_messages() do
@test_throws EzXML.XMLError parsexml("<gepa?>jgo<<<><<")
end
@test occursin("caught 4 errors; showing the first one", messages)
@test occursin("caught 4 errors; throwing the first one", messages)
end

@testset "HTML" begin
Expand Down

0 comments on commit 5a80178

Please sign in to comment.