Skip to content

Commit d959786

Browse files
Merge branch '4.3' into 4.4
* 4.3: bump phpunit-bridge cache-id Use assertStringContainsString when needed Use assert assertContainsEquals when needed Use assertEqualsWithDelta when required
2 parents fbbc832 + 822a3af commit d959786

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)