Skip to content

Commit

Permalink
test: handle libxml2 master error message formatting (#3136)
Browse files Browse the repository at this point in the history
**What problem is this PR intended to solve?**

Update tests to accept libxml2 master error message formatting that was
changed in GNOME/libxml2@67e475b7


**Have you included adequate test coverage?**

N/A

**Does this change affect the behavior of either the C or the Java
implementations?**

Non-functional change
  • Loading branch information
flavorjones committed Feb 21, 2024
2 parents f690505 + 19befad commit 20265d7
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 20265d7

Please sign in to comment.