File Coverage

blib/lib/Mason/t/Util.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package Mason::t::Util;
2             $Mason::t::Util::VERSION = '2.22';
3 1     1   1390 use Test::Class::Most parent => 'Mason::Test::Class';
  1         70883  
  1         9  
4             use Mason::Util qw(combine_similar_paths);
5              
6             sub test_combine_similar_paths : Tests {
7             cmp_deeply( [ combine_similar_paths(qw(/foo/bar.m /foo/bar.pm /foo.m /foo.pm)) ],
8             [ '/foo/bar.{m,pm}', '/foo.{m,pm}' ] );
9             }
10              
11             1;