]> git.donarmstrong.com Git - deb_pkgs/libhtml-calendarmonth-perl.git/blobdiff - t/03_datetime.t
add new version of libhtml-calendarmonth-perl
[deb_pkgs/libhtml-calendarmonth-perl.git] / t / 03_datetime.t
index b7f48e344eff9637acad84d8e121981dd9b33c74..3735b1a1c23a90ed9073d37b0dc51f76f2d79088 100755 (executable)
@@ -1,17 +1,16 @@
 #!/usr/bin/perl
 
 use strict;
-
-my($test_count, $method);
-BEGIN { $test_count = 19 ; $method = 'DateTime' }
-
-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 = 'DateTime' }
+
+use Test::More tests => $test_count;
+
 SKIP: {
   eval "use $method";
   skip("$method not installed", $test_count) if $@;