line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Test::File::Find::CaseCollide; |
2
|
|
|
|
|
|
|
$Test::File::Find::CaseCollide::VERSION = '0.0.2'; |
3
|
1
|
|
|
1
|
|
65679
|
use strict; |
|
1
|
|
|
|
|
10
|
|
|
1
|
|
|
|
|
29
|
|
4
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
28
|
|
5
|
1
|
|
|
1
|
|
547
|
use Test::Differences (qw( eq_or_diff )); |
|
1
|
|
|
|
|
17698
|
|
|
1
|
|
|
|
|
57
|
|
6
|
1
|
|
|
1
|
|
430
|
use File::Find::CaseCollide (); |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
115
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
sub verify |
9
|
|
|
|
|
|
|
{ |
10
|
1
|
|
|
1
|
1
|
106
|
local $Test::Builder::Level = $Test::Builder::Level + 1; |
11
|
1
|
|
|
|
|
3
|
my ( $class, $args ) = @_; |
12
|
1
|
|
|
|
|
25
|
my $obj = File::Find::CaseCollide->new( { dir => $args->{dir} } ); |
13
|
1
|
|
|
|
|
1308
|
my $results = $obj->find; |
14
|
|
|
|
|
|
|
|
15
|
1
|
|
|
|
|
8
|
return eq_or_diff( $results, {}, "No results were found." ); |
16
|
|
|
|
|
|
|
} |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
1; |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
__END__ |