Skip to content

Commit 9ace171

Browse files
committed
test: use assertEqualsWithDelta for timer start value in TimerTest
1 parent 84df251 commit 9ace171

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/system/Debug/TimerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ public function testStartWithZeroTime(): void
9393

9494
$timers = $timer->getTimers();
9595

96-
$this->assertSame(0.0, $timers['test1']['start']);
96+
$this->assertEqualsWithDelta(0.0, $timers['test1']['start'], PHP_FLOAT_EPSILON);
9797
}
9898

9999
public function testThrowsExceptionStoppingNonTimer(): void

0 commit comments

Comments
 (0)