From: Graham Knop Date: Sun, 23 Apr 2017 21:45:31 +0000 (+0200) Subject: allow YAML::Syck to fail the error tests X-Git-Tag: v0.32~3 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=53ae8e59dd80cfdff27f7af6840d585ccd0c4b4a;p=p5sagit%2FConfig-Any.git allow YAML::Syck to fail the error tests --- diff --git a/t/55-yaml.t b/t/55-yaml.t index 907d576..890baa0 100644 --- a/t/55-yaml.t +++ b/t/55-yaml.t @@ -31,6 +31,8 @@ else { # test invalid config { + local $TODO = 'YAML::Syck parses invalid files' + if $INC{'YAML/Syck.pm'}; my $file = 't/invalid/conf.yml'; my $config = eval { Config::Any::YAML->load( $file ) }; @@ -41,6 +43,8 @@ else { # parse error generated on invalid config { + local $TODO = 'YAML::Syck parses invalid files' + if $INC{'YAML/Syck.pm'}; my $file = 't/invalid/conf.yml'; my $config = eval { Config::Any->load_files( { files => [$file], use_ext => 1} ) };