X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fback_compat.t;fp=t%2Fback_compat.t;h=0937babc088578f12ccad00b81cc2fee5ff7614b;hb=d7ae8eabd45a66a7766172575eb7b87c1c78bd43;hp=4e23b7d2ee813758badd75928a2ff09dfe2e3e6e;hpb=f7cb00cba7691450951604832e1b4ac5759c5d65;p=catagits%2FCatalyst-Devel.git diff --git a/t/back_compat.t b/t/back_compat.t index 4e23b7d..0937bab 100644 --- a/t/back_compat.t +++ b/t/back_compat.t @@ -25,7 +25,7 @@ package MyTestHelper; use Test::More; use File::Temp qw/tempfile/; -my ($fh, $fn) = tempfile; +my ($fh, $fn) = tempfile( UNLINK => 1 ); close $fh; $helper->render_file('example1', $fn, { test_var => 'test_val' }); open $fh, $fn or die $@;