Skip to content

Commit 59b1b3e

Browse files
authored
forgot MacOS early-wakeup
1 parent 7edcb11 commit 59b1b3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/standard/tests/misc/time_sleep_until_basic.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ if (stripos(PHP_OS, 'WIN') === 0) {
5151
$tolerance = 0.002;
5252
}
5353

54-
if ($currentTime >= $sleepUntil && isWithinTolerance($currentTime, $sleepUntil, $tolerance)) {
54+
if (isWithinTolerance($currentTime, $sleepUntil, $tolerance)) {
5555
echo "Success" . PHP_EOL;
5656
} else {
5757
echo "Sleep until (before truncation): {$targetTime}" . PHP_EOL;

0 commit comments

Comments
 (0)