Skip to content

Commit

Permalink
Take into account some ICU 56 changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
dakota committed Dec 4, 2015
1 parent 084e9ab commit 3c1b08b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/TestCase/I18n/TimeTest.php
Expand Up @@ -869,10 +869,10 @@ public function testFromNow()
*/
public function assertTimeFormat($expected, $result)
{
$expected = str_replace([',', '(', ')', ' at', ' م.', ' ه‍.ش.', ' AP', ' AH', ' SAKA'], '', $expected);
$expected = str_replace([',', '(', ')', ' at', ' م.', ' ه‍.ش.', ' AP', ' AH', ' SAKA', 'à '], '', $expected);
$expected = str_replace([' '], ' ', $expected);

$result = str_replace([',', '(', ')', ' at', ' م.', ' ه‍.ش.', ' AP', ' AH', ' SAKA'], '', $result);
$result = str_replace([',', '(', ')', ' at', ' م.', ' ه‍.ش.', ' AP', ' AH', ' SAKA', 'à '], '', $result);
$result = str_replace([' '], ' ', $result);

return $this->assertEquals($expected, $result);
Expand Down

0 comments on commit 3c1b08b

Please sign in to comment.