Skip to content

Commit

Permalink
Fix expected output
Browse files Browse the repository at this point in the history
Watchers are only activated on next tick.
  • Loading branch information
kelunik committed May 25, 2020
1 parent 5dd44eb commit 94a8e78
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/Loop/DriverTest.php
Expand Up @@ -127,8 +127,8 @@ public function testCorrectTimeoutIfBlockingBeforeActivate()
$this->assertNotSame(0, $start);
$this->assertNotSame(0, $invoked);

$this->assertGreaterThan(1000, $invoked - $start);
$this->assertLessThan(1100, $invoked - $start);
$this->assertGreaterThan(1500, $invoked - $start);
$this->assertLessThan(1600, $invoked - $start);
}

public function testCorrectTimeoutIfBlockingBeforeDelay()
Expand Down

0 comments on commit 94a8e78

Please sign in to comment.