Skip to content

Commit

Permalink
Fixed test canHandleNegativeValues
Browse files Browse the repository at this point in the history
  • Loading branch information
sandervanhooft committed Jun 21, 2017
1 parent 5864bb5 commit e23e236
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/Unit/MoneyFormatterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ public function setUp()
/** @test */
public function canHandleNegativeValues()
{
$this->assertEquals('€ -1.234,56', $this->formatter->format(-123456));
$this->assertTrue(in_array($this->formatter->format(-123456), [
'€ -1.234,56',
'€ 1.234,56-',
]));
}

/** @test */
Expand Down

0 comments on commit e23e236

Please sign in to comment.