projects
/
p5sagit/local-lib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
silence "Name "File::Spec::rel2abs" used only once: possible typo"
[p5sagit/local-lib.git]
/
t
/
classmethod.t
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');