1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
#!perl -T
use strict;
use warnings;
use lib 't';
use FilterTest;
use Test::More tests => 1;
use App::Ack::Filter::Extension;
filter_test(
[ ext => qw/pl pod pm t/ ], [
't/swamp/Makefile.PL',
't/swamp/blib/ignore.pm',
't/swamp/blib/ignore.pod',
't/swamp/constitution-100k.pl',
't/swamp/options-crlf.pl',
't/swamp/options.pl',
't/swamp/perl-test.t',
't/swamp/perl.handler.pod',
't/swamp/perl.pl',
't/swamp/perl.pm',
't/swamp/perl.pod',
], 'only the given extensions should be matched'
);
|