Skip to content

Commit

Permalink
Merge branch '4.4'
Browse files Browse the repository at this point in the history
* 4.4:
  bump phpunit-bridge cache-id
  removed unneeded phpdocs
  Use assertStringContainsString when needed
  Use assert assertContainsEquals when needed
  Use assertEqualsWithDelta when required
  • Loading branch information
nicolas-grekas committed Aug 6, 2019
2 parents c4f546e + d959786 commit 13c7cb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/NumberFormatter/AbstractNumberFormatterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -806,7 +806,7 @@ public function testParseTypeDouble($value, $expectedValue)
{
$formatter = $this->getNumberFormatter('en', NumberFormatter::DECIMAL);
$parsedValue = $formatter->parse($value, NumberFormatter::TYPE_DOUBLE);
$this->assertEquals($expectedValue, $parsedValue, '', 0.001);
$this->assertEqualsWithDelta($expectedValue, $parsedValue, 0.001);
}

public function parseTypeDoubleProvider()
Expand Down

0 comments on commit 13c7cb8

Please sign in to comment.