Browse Source

Change array syntax.

euromark 11 years ago
parent
commit
b090c8698f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/TestCase/I18n/NumberTest.php

+ 1 - 1
tests/TestCase/I18n/NumberTest.php

@@ -412,7 +412,7 @@ class NumberTest extends TestCase {
 		$expected = '45.60%';
 		$this->assertEquals($expected, $result);
 
-		$result = $this->Number->toPercentage(0.456, 2, array('locale' => 'de-DE', 'multiply' => true));
+		$result = $this->Number->toPercentage(0.456, 2, ['locale' => 'de-DE', 'multiply' => true]);
 		$expected = '45,60%';
 		$this->assertEquals($expected, $result);
 	}