X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo%2FMooseX-Getopt.git;a=blobdiff_plain;f=t%2F112_configfile_constructor_arg.t;h=8cb13813abf71bf5df3cd67ff24a0cebe4c34506;hp=9465eded8c39c5af22c552c06e1f9b58e349d8c3;hb=ba2137c64703fef6794a46919394f9b768f77f9b;hpb=2a289664c866765510f932173279f6608c1a7489 diff --git a/t/112_configfile_constructor_arg.t b/t/112_configfile_constructor_arg.t index 9465ede..8cb1381 100644 --- a/t/112_configfile_constructor_arg.t +++ b/t/112_configfile_constructor_arg.t @@ -10,6 +10,12 @@ use Test::More tests => 3; use Test::NoWarnings 1.04 ':early'; use Path::Class; # exports file, dir +# avoid warning if all we have installed is YAML or YAML::Syck - the user will +# see this eventually when he actually uses MooseX::SimpleConfig in his own +# code +use Config::Any::YAML; +$Config::Any::YAML::NO_YAML_XS_WARNING = 1; + { package Foo; use Moose;