summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Kennedy <adam@ali.as>2007-12-11 06:26:18 +0000
committerAdam Kennedy <adam@ali.as>2007-12-11 06:26:18 +0000
commit83ac9938ab9d7b5d91a8d4d5eca49e3b3c89f399 (patch)
treeedfb69b9601c7ed7e255af3142e21b0fa8f68d1a
parent4c82f8ed450f0d4cb2db41e5f5d092d4917589c1 (diff)
Removing the use of a 00 test
-rw-r--r--t/01_api.t (renamed from t/00_api.t)13
-rw-r--r--t/02_main.t (renamed from t/01_main.t)0
2 files changed, 3 insertions, 10 deletions
diff --git a/t/00_api.t b/t/01_api.t
index e97f230..ef0e4d2 100644
--- a/t/00_api.t
+++ b/t/01_api.t
@@ -1,18 +1,11 @@
-#!/usr/bin/perl -w
+#!/usr/bin/perl
# Basic first pass API testing for File::Flat
use strict;
-use lib ();
-use UNIVERSAL 'isa';
-use File::Spec::Functions ':ALL';
BEGIN {
- $| = 1;
- unless ( $ENV{HARNESS_ACTIVE} ) {
- require FindBin;
- chdir ($FindBin::Bin = $FindBin::Bin); # Avoid a warning
- lib->import( catdir( updir(), updir(), 'modules') );
- }
+ $| = 1;
+ $^W = 1;
}
# Execute the tests
diff --git a/t/01_main.t b/t/02_main.t
index 454ec0c..454ec0c 100644
--- a/t/01_main.t
+++ b/t/02_main.t