Skip to content
Permalink
Browse files

fixed typo in test cases for ordinal

  • Loading branch information...
ritesh-pandey committed Sep 2, 2015
1 parent 971ebf6 commit 86eedffa82abbfae3d0dc0daae2c35198e0e3fd8
Showing with 5 additions and 5 deletions.
  1. +5 −5 tests/TestCase/I18n/NumberTest.php
@@ -550,20 +550,20 @@ public function testOrdinal()
$result = $this->Number->ordinal(1);
$this->assertEquals('1st', $result);
$result = $this->Number->toReadableSize(2);
$result = $this->Number->ordinal(2);
$this->assertEquals('2nd', $result);
$result = $this->Number->toReadableSize(3);
$result = $this->Number->ordinal(3);
$this->assertEquals('3rd', $result);
$result = $this->Number->toReadableSize(4);
$result = $this->Number->ordinal(4);
$this->assertEquals('4th', $result);
I18n::locale('fr_FR');
$result = $this->Number->toReadableSize(1);
$result = $this->Number->ordinal(1);
$this->assertEquals('1er', $result);
$result = $this->Number->toReadableSize(2);
$result = $this->Number->ordinal(2);
$this->assertEquals('2e', $result);
}
}

0 comments on commit 86eedff

Please sign in to comment.
You can’t perform that action at this time.