From 0b2e41d7f21d9a7b2825689c6c13adf3006291b7 Mon Sep 17 00:00:00 2001 From: Mike Dalessio Date: Tue, 6 Dec 2022 13:04:01 -0500 Subject: [PATCH] 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. [1]: https://gitlab.gnome.org/GNOME/libxml2/-/commit/c846986 --- test/xml/sax/test_parser.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/xml/sax/test_parser.rb b/test/xml/sax/test_parser.rb index e56a3646de..9efd3499ec 100644 --- a/test/xml/sax/test_parser.rb +++ b/test/xml/sax/test_parser.rb @@ -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