Commits

Anonymous committed 736effc

fix bug in t/40reader.t revealed by a bugfix in Test::More 0.71 (Jonathan Rockway)

  • Participants
  • Parent commits 2cfd164

Comments (0)

Files changed (2)

 Revision history for Perl extension XML::LibXML
+1.65pre
+   - fix bug in t/40reader.t revealed by a bugfix in Test::More 0.71 (Jonathan Rockway)
 
 1.64
    - fix reconcilation of the "xml" namespace [rt.cpan.org #26450] 

File t/40reader.t

 use warnings;
 use Test::More;
 
-if (XML::LibXML::LIBXML_VERSION() >= 20621) {
-   plan tests => 92;
-} else {
-   plan skip_all => "Reader not supported for libxml2 <= 2.6.20";
-}
+use XML::LibXML;
 
 BEGIN{
+  if (XML::LibXML::LIBXML_VERSION() >= 20621) {
+     plan tests => 93;
+  } else {
+     plan skip_all => "Reader not supported for libxml2 <= 2.6.20";
+  }
+
   use_ok('XML::LibXML::Reader');
 };