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