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=b2118764bd0c2a77750c769d57723a456fde02bd;hp=8368bcc984f46cd2306b27b2e819a6a8a7d9967c;hb=dcfb1d1d1a544d27a82cb174168df23abc539acb;hpb=4198bf8c36c5f90c71845bd2505d953d3422037e diff --git a/t/10-branches.t b/t/10-branches.t index 8368bcc..b211876 100644 --- a/t/10-branches.t +++ b/t/10-branches.t @@ -38,7 +38,8 @@ use_ok( 'Config::Any' ); ); } -my @files = glob( "t/conf/conf.*" ); +# grep out files we don't understand for these tests +my @files = grep { !m{\.(foo|unsupported)$} } glob( "t/conf/conf.*" ); my $filter = sub { return }; ok( Config::Any->load_files( { files => \@files, use_ext => 0 } ), "use_ext 0 works" );