Skip to content

Commit 2efa87b

Browse files
committed
test: skip large cdata test on system libxml2
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. backport of 0b2e41d [1]: https://gitlab.gnome.org/GNOME/libxml2/-/commit/c846986
1 parent 3187d67 commit 2efa87b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/xml/sax/test_parser.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ def call_parse_io_with_encoding(encoding)
402402
end
403403

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

407407
template = <<~EOF
408408
<?xml version="1.0" encoding="UTF-8"?>

0 commit comments

Comments
 (0)