Commits

Shlomi Fish  committed ec44c2a

Fix RT #88375.

  • Participants
  • Parent commits 01a527b

Comments (0)

Files changed (2)

 Revision history for Perl extension XML::LibXML
 
+    - Fix t/35huge_mode.t on libxml2 versions less than 2.7.0.
+        - Fixes https://rt.cpan.org/Ticket/Display.html?id=88375
+        - Thanks to Yuriy / YOREEK for the patch.
+
 2.0104          Fri 30 Aug 12:36:06 IDT 2013
     - Fix https://rt.cpan.org/Ticket/Display.html?id=88060
         - Use quoted version number in the SYNOPSIS.

File t/35huge_mode.t

 use strict;
 use warnings;
 
-use Test::More tests => 5;
+use Test::More;
 
 use XML::LibXML;
 
+if (XML::LibXML::LIBXML_VERSION() < 20700) {
+    plan skip_all => "XML_PARSE_HUGE option not supported for libxml2 < 2.7.0";
+}
+else {
+    plan tests => 5;
+}
+
 my $benign_xml = <<'EOF';
 <?xml version="1.0"?>
 <!DOCTYPE lolz [