Revision history for Config-Any
+0.14 XXX
+ - skip xml failure tests if XML::LibXML < 1.59 is installed, it seems
+ to parse anything you throw at it (Matt S. Trout)
+
0.13 Tue 05 Aug 2008
- show actual parse error when parse fails (Marcus Ramberg)
- ensure Config::Tiny parse errors are trapped
use Carp;
use Module::Pluggable::Object ();
-our $VERSION = '0.13';
+our $VERSION = '0.14';
=head1 NAME
}
# 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 ) };