X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit%2FConfig-Any.git;a=blobdiff_plain;f=t%2F55-yaml.t;h=7b7b5bcc170facc8613a69b31ba459afa0504dbe;hp=d042cc457e317504fb50419ed7386b6fcbbbedb3;hb=0bdc3e9bef6f841b341c32960565aaaa9551e2be;hpb=5770ffc01feb6998b8a7e23d66b52d33e4a62b35 diff --git a/t/55-yaml.t b/t/55-yaml.t index d042cc4..7b7b5bc 100644 --- a/t/55-yaml.t +++ b/t/55-yaml.t @@ -1,5 +1,6 @@ use strict; use warnings; +no warnings 'once'; use Test::More; use Config::Any::YAML; @@ -19,9 +20,9 @@ else { # test invalid config { - my $file = 't/invalid/conf.yml'; + my $file = 't/invalid/conf.yml'; my $config = eval { Config::Any::YAML->load( $file ) }; ok( !$config, 'config load failed' ); - ok( $@, "error thrown ($@)" ); + ok( $@, "error thrown ($@)" ); }