PageRenderTime 232ms CodeModel.GetById 110ms app.highlight 3ms RepoModel.GetById 118ms app.codeStats 0ms

/t/00_compile.t

http://github.com/motemen/Teto
Unknown | 16 lines | 13 code | 3 blank | 0 comment | 0 complexity | 324e1275887f2bbf899ae8320fcc6b0c MD5 | raw file
 1use strict;
 2use lib 'lib';
 3use Test::More;
 4use File::Find::Rule;
 5
 6my @files = grep !/DAAP\.pm$/, File::Find::Rule->file->name('*.pm')->in('lib');
 7plan tests => scalar @files;
 8
 9for (@files) {
10    s<^lib/><>;
11    s<\.pm$><>;
12    s</><::>g;
13    use_ok $_;
14}
15
16done_testing;