Test miscounting.
authorJarkko Hietaniemi <jhi@iki.fi>
Thu, 8 Nov 2001 23:49:42 +0000 (23:49 +0000)
committerJarkko Hietaniemi <jhi@iki.fi>
Thu, 8 Nov 2001 23:49:42 +0000 (23:49 +0000)
p4raw-id: //depot/perl@12908

ext/POSIX/t/posix.t

index f862e0a..81c97e5 100644 (file)
@@ -143,7 +143,7 @@ ok( &POSIX::acos(1.0) == 0.0,   'dynamic loading' );
 # didn't detect it.  If this fails, try adding
 # -DSTRUCT_TM_HASZONE to your cflags when compiling ext/POSIX/POSIX.c.
 # See ext/POSIX/hints/sunos_4.pl and ext/POSIX/hints/linux.pl 
-print POSIX::strftime("ok 18 # %H:%M, on %D\n", localtime());
+print POSIX::strftime("ok 20 # %H:%M, on %D\n", localtime());
 next_test();
 
 # If that worked, validate the mini_mktime() routine's normalisation of
@@ -151,7 +151,7 @@ next_test();
 sub try_strftime {
     my $expect = shift;
     my $got = POSIX::strftime("%a %b %d %H:%M:%S %Y %j", @_);
-    is($got, $expect, 'validating mini_mktime() and strftime()');
+    is($got, $expect, "validating mini_mktime() and strftime(): $expect");
 }
 
 $lc = &POSIX::setlocale(&POSIX::LC_TIME, 'C') if $Config{d_setlocale};