X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F55-yaml.t;h=caf6f66650311653ac08d2196ada7bfbbc30ab3e;hb=a86df341bff3173831af40e70e915c8ea701cacf;hp=2eb8d4e5bb91a2f28b73b39d36beacf95c663bca;hpb=77f14cda81a1985461745614ec79a76d25f13ac4;p=p5sagit%2FConfig-Any.git diff --git a/t/55-yaml.t b/t/55-yaml.t index 2eb8d4e..caf6f66 100644 --- a/t/55-yaml.t +++ b/t/55-yaml.t @@ -1,9 +1,12 @@ use strict; use warnings; +no warnings 'once'; use Test::More; use Config::Any::YAML; +$Config::Any::YAML::NO_YAML_XS_WARNING = 1; + if ( !Config::Any::YAML->is_supported ) { plan skip_all => 'YAML format not supported'; } @@ -23,5 +26,5 @@ else { my $config = eval { Config::Any::YAML->load( $file ) }; ok( !$config, 'config load failed' ); - ok( $@, "error thrown ($@)" ); + ok( $@, "error thrown ($@)" ); }