Commits

Shlomi Fish  committed f962728

Fix the double plan on t/49global_extent.t .

  • Participants
  • Parent commits ae82a3d

Comments (0)

Files changed (2)

     - t/46err_column.t : add a skip for a test for CentOS/RHEL 4:
         - https://rt.cpan.org/Ticket/Display.html?id=69070
         - old version of libxml2 .
+    - t/49global_extent.t : fix the double plan (present on libxml2
+    below 2.6.27):
+        - https://rt.cpan.org/Ticket/Display.html?id=69330
+        - Thanks to Chris for reporting it.
 
 1.78            Wed Jul  6 20:23:58 IDT 2011
     - Change t/02parse.t to test for the localized error message:

File t/49global_extent.t

 use strict;
 use warnings;
 
-use Test::More tests => 1;
+use Test::More;
 use XML::LibXML;
 
 if (XML::LibXML::LIBXML_VERSION() < 20627) {
     plan skip_all => "skipping for libxml2 < 2.6.27";
 }
+else
+{
+    plan tests => 1;
+}
 
 sub handler {
   return "ENTITY:" . join(",",@_);