Skip to content

Commit 0c21a09

Browse files
committed
Use assertEqualsWithDelta when required
1 parent 0fdc637 commit 0c21a09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/NumberFormatter/AbstractNumberFormatterTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -806,7 +806,7 @@ public function testParseTypeDouble($value, $expectedValue)
806806
{
807807
$formatter = $this->getNumberFormatter('en', NumberFormatter::DECIMAL);
808808
$parsedValue = $formatter->parse($value, NumberFormatter::TYPE_DOUBLE);
809-
$this->assertEquals($expectedValue, $parsedValue, '', 0.001);
809+
$this->assertEqualsWithDelta($expectedValue, $parsedValue, 0.001);
810810
}
811811

812812
public function parseTypeDoubleProvider()

0 commit comments

Comments
 (0)