Debian Codegraph @

t/pmeth.t

raw symbols SCIP
1 # pmeth testing
2
3 # ------ pragmas
4 use strict;
5 use warnings;
6 use Test::More tests => 2;
7
8 # ------ define variable
9 my $output = undef; # output from pmeth
10
11 # ------ add other pmtools to PATH temporarily
12 $ENV{'PATH'} = 'blib/script:' . $ENV{PATH};
13
14 eval {
15 $output = `bin/pmeth Tie::Hash 2>&1`;
16 };
17
18 is($?, 0, "pmeth runs");
19 like($output, qr/CLEAR.*EXISTS/ms, "list methods of a module");