From: Karen Etheridge Date: Mon, 27 May 2013 01:04:43 +0000 (-0700) Subject: silence "Name "File::Spec::rel2abs" used only once: possible typo" X-Git-Tag: 1.008010^0 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=3ad7da2f20602e5644f3c9b38ded472679b391af;p=p5sagit%2Flocal-lib.git silence "Name "File::Spec::rel2abs" used only once: possible typo" --- diff --git a/t/classmethod.t b/t/classmethod.t index 385572a..f928fd5 100644 --- 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');