X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit%2FConfig-Any.git;a=blobdiff_plain;f=t%2F65-force_plugins.t;fp=t%2F65-force_plugins.t;h=5cbf9ffc04f1e217f7408bb814c92a1abce73919;hp=0000000000000000000000000000000000000000;hb=5d3ad6eb7bf1f5ac814bf92e9b7098b9b650414a;hpb=803bbb1153db2f996a881286fdfe81eaa3c75b24 diff --git a/t/65-force_plugins.t b/t/65-force_plugins.t new file mode 100644 index 0000000..5cbf9ff --- /dev/null +++ b/t/65-force_plugins.t @@ -0,0 +1,16 @@ +use strict; +use warnings; + +use Test::More tests => 2; + +use Config::Any; + +{ + my $result = eval { + Config::Any->load_files( + { files => [ 't/conf/conf.pl' ], force_plugins => [ 'Config::Any::Perl' ] } ); + }; + + ok( $result, 'config loaded' ); + ok( !$@, 'no error thrown' ); +}