File: ext-filter.t

package info (click to toggle)
ack 2.24-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,704 kB
  • sloc: perl: 8,590; ansic: 21; fortran: 11; makefile: 5; sh: 5
file content (26 lines) | stat: -rw-r--r-- 586 bytes parent folder | download
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'
);