Skip to content

Commit

Permalink
Fix incorrectly formatted messages used in test cases.
Browse files Browse the repository at this point in the history
PoFileParser returns different format actually.
  • Loading branch information
chinpei215 committed Mar 9, 2016
1 parent 8b7d392 commit 9427739
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tests/TestCase/I18n/I18nTest.php
Expand Up @@ -325,6 +325,12 @@ public function testPluralContextFunction()
$package = new Package('default');
$package->setMessages([
'letter' => [
'_context' => [
'character' => 'The letter {0}',
'communication' => 'The letters {0} and {1}',
]
],
'letters' => [
'_context' => [
'character' => [
'The letter {0}',
Expand Down Expand Up @@ -390,6 +396,12 @@ public function testDomainPluralContextFunction()
$package = new Package('default');
$package->setMessages([
'letter' => [
'_context' => [
'character' => 'The letter {0}',
'communication' => 'The letters {0} and {1}',
]
],
'letters' => [
'_context' => [
'character' => [
'The letter {0}',
Expand Down

0 comments on commit 9427739

Please sign in to comment.