line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package ok; |
2
|
|
|
|
|
|
|
$ok::VERSION = '0.11'; |
3
|
|
|
|
|
|
|
|
4
|
1
|
|
|
1
|
|
39565
|
use strict; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
51
|
|
5
|
1
|
|
|
1
|
|
6
|
use Test::More (); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
175
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
sub import { |
8
|
3
|
|
|
3
|
|
6715
|
shift; |
9
|
|
|
|
|
|
|
|
10
|
3
|
50
|
|
|
|
14
|
if (@_) { |
11
|
3
|
100
|
|
|
|
17
|
goto &Test::More::pass if $_[0] eq 'ok'; |
12
|
2
|
|
|
|
|
13
|
goto &Test::More::use_ok; |
13
|
|
|
|
|
|
|
} |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
# No argument list - croak as if we are prototyped like use_ok() |
16
|
0
|
|
|
|
|
|
my (undef, $file, $line) = caller(); |
17
|
0
|
0
|
|
|
|
|
($file =~ /^\(eval/) or die "Not enough arguments for 'use ok' at $file line $line\n"; |
18
|
|
|
|
|
|
|
} |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
__END__ |