X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit%2FConfig-Any.git;a=blobdiff_plain;f=t%2F54-xml.t;h=41376aca7254e025ff4769e94330fb4f8c50bfdc;hp=0f7514ae6a4d8a5a70dfca6a589d0f994b66c467;hb=9d569cf0c9b945399035ced825ff7059692786c7;hpb=d9f07dd8c98d6a34bb5d099fe6aa14b2a57558b2 diff --git a/t/54-xml.t b/t/54-xml.t index 0f7514a..41376ac 100644 --- a/t/54-xml.t +++ b/t/54-xml.t @@ -18,7 +18,11 @@ else { } # test invalid config -{ +SKIP: { + my $broken_libxml = eval { require XML::LibXML; XML::LibXML->VERSION lt '1.59'; }; + skip 'XML::LibXML < 1.58 has issues', 2 if $broken_libxml; + + local $SIG{__WARN__} = sub {}; # squash warnings from XML::Simple my $file = 't/invalid/conf.xml'; my $config = eval { Config::Any::XML->load( $file ) };