Skip to content

Commit

Permalink
test: handle libxml2 master error message formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
flavorjones committed Feb 21, 2024
1 parent f690505 commit 19befad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/xml/test_entity_reference.rb
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ def setup
expected = if Nokogiri.uses_libxml?(">= 2.13")
[
"2:49: WARNING: failed to load \"http://foo.bar.com/\": Attempt to load network entity",
"ERROR: Attempt to load network entity http://foo.bar.com/",
"ERROR: Attempt to load network entity: http://foo.bar.com/",
"4:14: ERROR: Entity 'bar' not defined",
]
elsif Nokogiri.uses_libxml?
Expand Down

0 comments on commit 19befad

Please sign in to comment.