diff options
author | Nicholas Clark <nick@ccl4.org> | 2010-07-01 10:54:33 +0100 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2010-07-01 12:08:50 +0100 |
commit | bd3fc147b26516ab1045db127705986acf92a6f4 (patch) | |
tree | b6454552d74ec361857347fbf0bbfbaaf13cc7f3 /lib | |
parent | 5b88804b955604d0af8805842b17d516bd9f3bd4 (diff) | |
download | perl-bd3fc147b26516ab1045db127705986acf92a6f4.tar.gz |
Convert gmtime.t, localtime.t and overloading.t to Test::More.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Time/gmtime.t | 7 | ||||
-rw-r--r-- | lib/Time/localtime.t | 7 | ||||
-rw-r--r-- | lib/overloading.t | 10 |
3 files changed, 3 insertions, 21 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 { diff --git a/lib/overloading.t b/lib/overloading.t index cedfc516cc..2e1fb40ffc 100644 --- a/lib/overloading.t +++ b/lib/overloading.t @@ -1,14 +1,6 @@ #./perl -BEGIN { - chdir 't' if -d 't'; - @INC = '../lib'; -} - -BEGIN { - require "./test.pl"; - plan(tests => 35); -} +use Test::More tests => 35; use Scalar::Util qw(refaddr); |