X-Git-Url: https://git.donarmstrong.com/?p=deb_pkgs%2Flibhtml-calendarmonth-perl.git;a=blobdiff_plain;f=t%2F03_datetime.t;h=3735b1a1c23a90ed9073d37b0dc51f76f2d79088;hp=b7f48e344eff9637acad84d8e121981dd9b33c74;hb=627a8e2fb05a744a8381c58bf5fff6492a1cff02;hpb=71f544d6e70002cf5ddbadbb7a596bec38a69c9b diff --git a/t/03_datetime.t b/t/03_datetime.t index b7f48e3..3735b1a 100755 --- a/t/03_datetime.t +++ b/t/03_datetime.t @@ -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 $@;