[Jifty-commit] r4990 - in jifty/trunk: t
Jifty commits
jifty-commit at lists.jifty.org
Sun Feb 3 14:47:04 EST 2008
Author: sartak
Date: Sun Feb 3 14:47:01 2008
New Revision: 4990
Modified:
jifty/trunk/ (props changed)
jifty/trunk/t/01-dependencies.t
Log:
r51345 at onn: sartak | 2008-02-03 14:46:31 -0500
Have t/01-dependencies.t report the entire dir+filename, not just the filename
Modified: jifty/trunk/t/01-dependencies.t
==============================================================================
--- jifty/trunk/t/01-dependencies.t (original)
+++ jifty/trunk/t/01-dependencies.t Sun Feb 3 14:47:01 2008
@@ -34,9 +34,9 @@
$data =~ s/^=head.+?(^=cut|\Z)//gms;
# look for use and use base statements
- $used{$1}{$filename}++ while $data =~ /^\s*use\s+([\w:]+)/gm;
+ $used{$1}{$File::Find::name}++ while $data =~ /^\s*use\s+([\w:]+)/gm;
while ($data =~ m|^\s*use base qw.([\w\s:]+)|gm) {
- $used{$_}{$filename}++ for split ' ', $1;
+ $used{$_}{$File::Find::name}++ for split ' ', $1;
}
}
More information about the Jifty-commit
mailing list