From: Karen Etheridge Date: Fri, 13 Sep 2013 16:28:08 +0000 (-0700) Subject: use our wrapper for creating a local::lib dir, normalizing for win32 paths X-Git-Tag: 1.008016~3 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=0c1be9f34bd55453ba1d0e580e66a6409c9552e4;p=p5sagit%2Flocal-lib.git use our wrapper for creating a local::lib dir, normalizing for win32 paths --- diff --git a/t/taint-mode.t b/t/taint-mode.t index f1a547f..94392cf 100644 --- a/t/taint-mode.t +++ b/t/taint-mode.t @@ -6,14 +6,13 @@ use strict; use warnings; -use Test::More; -use File::Temp qw(tempdir tempfile); +use Test::More tests => 1; +use File::Temp 'tempfile'; use Cwd; -plan tests => 1; +use lib 't/lib'; use TempDir; -# Setup temp dir to serve as local lib -my $dir1 = tempdir('test_local_lib-XXXXX', DIR => Cwd::abs_path('t'), CLEANUP => 1); +my $dir1 = mk_temp_dir('test_local_lib-XXXXX'); # Set up local::lib environment using our temp dir require local::lib;