projects
/
p5sagit/local-lib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
3b2c3de
)
silence "Name "File::Spec::rel2abs" used only once: possible typo"
1.008010
Karen Etheridge [Mon, 27 May 2013 01:04:43 +0000 (18:04 -0700)]
t/classmethod.t
patch
|
blob
|
blame
|
history
diff --git
a/t/classmethod.t
b/t/classmethod.t
index
385572a
..
f928fd5
100644
(file)
--- a/
t/classmethod.t
+++ b/
t/classmethod.t
@@
-17,6
+17,7
@@
is($c->resolve_empty_path('foo'), 'foo');
{
+no warnings 'once';
local *File::Spec::rel2abs = sub { shift; 'FOO'.shift; };
is($c->resolve_relative_path('bar'),'FOObar');