We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e1ae53 commit 9de0d60Copy full SHA for 9de0d60
src/Symfony/Component/Stopwatch/Tests/StopwatchEventTest.php
@@ -119,12 +119,12 @@ public function testEnsureStopped()
119
public function testStartTime()
120
{
121
$event = new StopwatchEvent(microtime(true) * 1000);
122
- $this->assertLessThan(0.5, $event->getStartTime());
+ $this->assertLessThanOrEqual(0.5, $event->getStartTime());
123
124
125
$event->start();
126
$event->stop();
127
- $this->assertLessThan(1, $event->getStartTime());
+ $this->assertLessThanOrEqual(1, $event->getStartTime());
128
129
130
0 commit comments