diff --git a/tests/Unit/MoneyFormatterTest.php b/tests/Unit/MoneyFormatterTest.php index 2a23e0e..1e3d20a 100644 --- a/tests/Unit/MoneyFormatterTest.php +++ b/tests/Unit/MoneyFormatterTest.php @@ -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 */