Time::Hires test fix
Charles Lane [Wed, 31 Oct 2001 13:47:04 +0000 (08:47 -0500)]
Message-Id: <011031134626.1227@DUPHY4.Physics.Drexel.Edu>

p4raw-id: //depot/perl@12797

ext/Time/HiRes/HiRes.t

index 6c84731..e6ceb93 100644 (file)
@@ -156,14 +156,13 @@ unless (defined &Time::HiRes::gettimeofday
 
     my ($f, $r, $i);
 
-    print "# time...";
     $f = time; 
-    print "$f\nok 15\n";
+    print "# time...$f\n";
+    print "ok 15\n";
 
-    print "# sleep...";
     $r = [Time::HiRes::gettimeofday()];
     sleep (0.5);
-    print Time::HiRes::tv_interval($r), "\nok 16\n";
+    print "# sleep...", Time::HiRes::tv_interval($r), "\nok 16\n";
 
     $r = [Time::HiRes::gettimeofday()];
     $i = 5;