Skip to content

Commit b543f87

Browse files
authored
Merge pull request #7608 from paulbalandan/cli-test-wait-zero
fix: change assertion on CLITest::testWaitZero
2 parents ded8d38 + 56f345f commit b543f87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/system/CLI/CLITest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public function testWaitZero()
7373
$time = time();
7474
CLI::wait(0);
7575

76-
$this->assertSame(0, time() - $time);
76+
$this->assertCloseEnough(0, time() - $time);
7777

7878
PhpStreamWrapper::restore();
7979
}

0 commit comments

Comments
 (0)