From: Graham Knop Date: Tue, 21 Jul 2015 11:23:34 +0000 (-0400) Subject: test cleanup X-Git-Tag: v0.010005~8 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=f93cfa2d48dd7db7e164e29fdded3d595142921d;p=p5sagit%2FApp-FatPacker.git test cleanup --- diff --git a/t/line.t b/t/line.t index ac1f7b4..9d47b36 100644 --- a/t/line.t +++ b/t/line.t @@ -1,11 +1,10 @@ -#!perl use strict; use warnings FATAL => 'all'; -use Test::More tests => 3; +use Test::More tests => 2; use File::Temp qw/tempdir/; use File::Spec; -BEGIN { use_ok "App::FatPacker", "" } +use App::FatPacker; chdir 't/line'; diff --git a/t/pack.t b/t/pack.t old mode 100755 new mode 100644 index 6924f69..16bc91a --- a/t/pack.t +++ b/t/pack.t @@ -1,4 +1,3 @@ -#!perl use strict; use warnings FATAL => 'all'; use Test::More qw(no_plan); @@ -9,7 +8,7 @@ use File::Temp qw/tempdir/; use File::Spec; use Cwd; -BEGIN { use_ok "App::FatPacker", "" } +use App::FatPacker; my $keep = $ENV{'FATPACKER_KEEP_TESTDIR'}; my $tempdir = tempdir($keep ? (CLEANUP => 0) : (CLEANUP => 1)); diff --git a/t/trace.t b/t/trace.t old mode 100755 new mode 100644 index 133c8b0..b844f18 --- a/t/trace.t +++ b/t/trace.t @@ -1,4 +1,3 @@ -#!perl use strict; use warnings FATAL => 'all'; use Test::More qw(no_plan);