summaryrefslogtreecommitdiff
path: root/lib/Time
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2010-07-01 10:54:33 +0100
committerNicholas Clark <nick@ccl4.org>2010-07-01 12:08:50 +0100
commitbd3fc147b26516ab1045db127705986acf92a6f4 (patch)
treeb6454552d74ec361857347fbf0bbfbaaf13cc7f3 /lib/Time
parent5b88804b955604d0af8805842b17d516bd9f3bd4 (diff)
downloadperl-bd3fc147b26516ab1045db127705986acf92a6f4.tar.gz
Convert gmtime.t, localtime.t and overloading.t to Test::More.
Diffstat (limited to 'lib/Time')
-rw-r--r--lib/Time/gmtime.t7
-rw-r--r--lib/Time/localtime.t7
2 files changed, 2 insertions, 12 deletions
diff --git a/lib/Time/gmtime.t b/lib/Time/gmtime.t
index b7840965a2..54f64357f0 100644
--- a/lib/Time/gmtime.t
+++ b/lib/Time/gmtime.t
@@ -1,11 +1,6 @@
#!./perl
-BEGIN {
- chdir 't' if -d 't';
- @INC = '../lib';
-
- require "./test.pl";
-}
+use Test::More;
my(@times, @methods);
BEGIN {
diff --git a/lib/Time/localtime.t b/lib/Time/localtime.t
index 0b020fcf7b..0d75dcbab9 100644
--- a/lib/Time/localtime.t
+++ b/lib/Time/localtime.t
@@ -1,11 +1,6 @@
#!./perl
-BEGIN {
- chdir 't' if -d 't';
- @INC = '../lib';
-
- require "./test.pl";
-}
+use Test::More;
my(@times, @methods);
BEGIN {