X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fclassmethod.t;h=f928fd55ac48f4bbf5a1a28e80880f215033d089;hb=refs%2Ftags%2F1.008010;hp=385572a888a773ed2c30a453aed7d8eef75c6cd6;hpb=3b2c3de483a1566deb20d182a8ef3face05902c8;p=p5sagit%2Flocal-lib.git 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');