Skip to content

Commit

Permalink
fix coding standards
Browse files Browse the repository at this point in the history
  • Loading branch information
euromark committed Mar 10, 2013
1 parent 8209097 commit a9bbaed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Cake/Test/Case/Utility/CakeNumberTest.php
Expand Up @@ -529,15 +529,15 @@ public function testCurrencyOptions() {
$expected = 'GBP650.1200';
$this->assertEquals($expected, $result);

$result = $this->Number->currency($value, 'GBP', array('before'=>'£ ', 'escape' => true));
$result = $this->Number->currency($value, 'GBP', array('before '=> '£ ', 'escape' => true));
$expected = '£ 1,234,567.89';
$this->assertEquals($expected, $result);

$result = $this->Number->currency('0.35', 'USD', array('after' => false));
$expected = '$0.35';
$this->assertEquals($expected, $result);

$result = $this->Number->currency('0.35', 'GBP', array('before'=>'£', 'after' => false, 'escape' => false));
$result = $this->Number->currency('0.35', 'GBP', array('before' => '£', 'after' => false, 'escape' => false));
$expected = '£0.35';
$this->assertEquals($expected, $result);

Expand Down

0 comments on commit a9bbaed

Please sign in to comment.