Skip to content

Commit

Permalink
test: skip SAX external entities test in older libxml2
Browse files Browse the repository at this point in the history
Before GNOME/libxml2@eddfbc38 the `#characters` event was duplicated
in this test case. I'm not going to work around it in Nokogiri.
  • Loading branch information
flavorjones committed Jul 2, 2024
1 parent be72d0a commit ca5480e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/xml/sax/test_parser.rb
Original file line number Diff line number Diff line change
Expand Up @@ -634,6 +634,8 @@ class TestCase
end

it "resolves local external entities when replace_entities is true" do
skip if Nokogiri.uses_libxml?("< 2.9.11") # gnome/libxml2@eddfbc38

Tempfile.create do |io|
io.write("local-contents")
io.close
Expand Down

0 comments on commit ca5480e

Please sign in to comment.