]> git.donarmstrong.com Git - deb_pkgs/libhtml-calendarmonth-perl.git/blobdiff - t/02_timelocal.t
add new version of libhtml-calendarmonth-perl
[deb_pkgs/libhtml-calendarmonth-perl.git] / t / 02_timelocal.t
index bff1ea0f32d0121f27f3b8b30ac3ae124f361e45..c952aa713ae83b030082bfc1fadc8b00c52016d9 100755 (executable)
@@ -1,17 +1,16 @@
 #!/usr/bin/perl
 
 use strict;
-
-my($test_count, $method);
-BEGIN { $test_count = 17 ; $method = 'Time::Local' }
-
-use Test::More tests => $test_count;
-
 use FindBin;
 use lib $FindBin::RealBin;
 
 use testload;
 
+my($test_count, $method);
+BEGIN { $test_count = case_count() + 2 ; $method = 'Time::Local' }
+
+use Test::More tests => $test_count;
+
 SKIP: {
   eval "use $method";
   skip("$method not installed", $test_count) if $@;