X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit%2FConfig-Any.git;a=blobdiff_plain;f=t%2F62-multi.t;h=7ac9f8cd9ba256ca90f415f262797e893343ae9a;hp=6c9e1e92f826c7f646ea2508afac7745a2fbf1c0;hb=a39975604eef2f215b2bf66ee5ff606aaa84fa09;hpb=72628dc786ef43d546023d6f17a86c3f5edeb21a diff --git a/t/62-multi.t b/t/62-multi.t index 6c9e1e9..7ac9f8c 100644 --- a/t/62-multi.t +++ b/t/62-multi.t @@ -1,11 +1,14 @@ -use Test::More tests => 3; - use strict; use warnings; +no warnings 'once'; + +use Test::More tests => 3; use Config::Any; use Config::Any::YAML; +$Config::Any::YAML::NO_YAML_XS_WARNING = 1; + my $file = 't/multi/conf.yml'; my @expect = ( { name => 'TestApp', @@ -19,7 +22,7 @@ my @expect = ( my @results = eval { Config::Any::YAML->load( $file ); }; SKIP: { - skip "Can't load YAML files", 3 if $@; + skip "Can't load multi-stream YAML files", 3 if $@; is( @results, 2, '2 documents' ); is_deeply( \@results, \@expect, 'structures ok' );