From d48effc49d5d2cd2ed955bf32a392d4edb57eaff Mon Sep 17 00:00:00 2001 From: marsuboss Date: Wed, 20 Nov 2013 14:18:24 +0100 Subject: [PATCH] Fixed negatif ? --- tests/unit/framework/i18n/FormatterTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/framework/i18n/FormatterTest.php b/tests/unit/framework/i18n/FormatterTest.php index ed5ab331c04..6ca69ea5904 100644 --- a/tests/unit/framework/i18n/FormatterTest.php +++ b/tests/unit/framework/i18n/FormatterTest.php @@ -78,7 +78,7 @@ public function testAsCurrency() $value = '123.456'; $this->assertSame("$123.46", $this->formatter->asCurrency($value)); $value = '-123456.123'; - $this->assertSame("($123,456.12)", $this->formatter->asCurrency($value)); + $this->assertSame("(-$123,456.12)", $this->formatter->asCurrency($value)); $this->assertSame($this->formatter->nullDisplay, $this->formatter->asCurrency(null)); }