Skip to content

Commit

Permalink
test: skip large cdata test on system libxml2
Browse files Browse the repository at this point in the history
because distros have started backporting the fix[1] from 2.10.3 and as
a result we can't easily tell whether to expect errors or not.

  [1]: https://gitlab.gnome.org/GNOME/libxml2/-/commit/c846986
  • Loading branch information
flavorjones committed Dec 6, 2022
1 parent 6a3254c commit 0b2e41d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/xml/sax/test_parser.rb
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ def call_parse_io_with_encoding(encoding)
end

it :test_large_cdata_is_handled do
skip("see #2132 and https://gitlab.gnome.org/GNOME/libxml2/-/issues/200") if Nokogiri.uses_libxml?("<=2.9.10")
skip("see #2132 and https://gitlab.gnome.org/GNOME/libxml2/-/issues/200") if Nokogiri::VersionInfo.instance.libxml2_using_system?

template = <<~EOF
<?xml version="1.0" encoding="UTF-8"?>
Expand Down

0 comments on commit 0b2e41d

Please sign in to comment.