X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit%2FConfig-Any.git;a=blobdiff_plain;f=t%2F10-branches.t;h=4ffdff5776b9e927a99caee9eeef9ce02e1eb0f3;hp=b2118764bd0c2a77750c769d57723a456fde02bd;hb=0ac17764e57cb8e9593dea270d876758e759ca64;hpb=1d172fc510f2ed15a00d475073f6df964b398484 diff --git a/t/10-branches.t b/t/10-branches.t index b211876..4ffdff5 100644 --- a/t/10-branches.t +++ b/t/10-branches.t @@ -38,11 +38,12 @@ use_ok( 'Config::Any' ); ); } -# grep out files we don't understand for these tests -my @files = grep { !m{\.(foo|unsupported)$} } glob( "t/conf/conf.*" ); -my $filter = sub { return }; +# can only be sure that perl files will load +my @files = ( 't/conf/conf.pl' ); ok( Config::Any->load_files( { files => \@files, use_ext => 0 } ), "use_ext 0 works" ); + +my $filter = sub { return }; ok( Config::Any->load_files( { files => \@files, use_ext => 1 } ), "use_ext 1 works" );