Commits

Shlomi Fish committed b9f9f22

Correct the skip_all and skip syntax.

  • Participants
  • Parent commits a86b110

Comments (0)

Files changed (3)

 
     - Change t/02parse.t to test for the localized error message:
         - https://rt.cpan.org/Public/Bug/Display.html?id=69248
-
+    - Fix the skip() and 'plan skip_all' syntax in t/06elements.t and
+    t/49global_extent.t for old versions of XML::LibXML:
+        - http://www.cpantesters.org/cpan/report/b648ae66-a569-11e0-a41d-a7c8b84ee953
+        - It did not match the one specified in Test::More.
 
 1.77            Fri Jul  1 22:27:56 IDT 2011
     - Change the signature of XML::LibXML::Reader::byteConsumed to be
         {
             if (XML::LibXML::LIBXML_VERSION() < 20627)
             {
-                skip(1, 'skipping for libxml2 < 2.6.27');
+                skip('skipping for libxml2 < 2.6.27', 1);
             }
             # TEST*$xml
             is($root->getAttributeNS($ns,'ns_fixed'),'ns_foo', 'ns_fixed is ns_foo')

t/49global_extent.t

 use XML::LibXML;
 
 if (XML::LibXML::LIBXML_VERSION() < 20627) {
-    skip_all("skipping for libxml2 < 2.6.27");
+    plan skip_all => "skipping for libxml2 < 2.6.27";
 }
 
 sub handler {