projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
bf91b99
)
perl-current/t/time-hires.t
John Peacock [Fri, 11 May 2001 14:09:41 +0000 (10:09 -0400)]
Message-ID: <
3AFC2AE5
.5E787E54@rowman.com>
p4raw-id: //depot/perl@10118
t/lib/time-hires.t
patch
|
blob
|
blame
|
history
diff --git
a/t/lib/time-hires.t
b/t/lib/time-hires.t
index
cc741e7
..
db35b95
100644
(file)
--- a/
t/lib/time-hires.t
+++ b/
t/lib/time-hires.t
@@
-132,7
+132,7
@@
else {
{
my $t = time();
my $tf = Time::HiRes::time();
- ok 14, ($tf >= $t) && (($tf - $t) <= 1),
+ ok 14, (abs($tf - $t) <= 1),
"time $t differs from Time::HiRes::time $tf";
}