Skip to content
Permalink
Browse files

Empty string key not supported in Symfony 5

  • Loading branch information
Aleš
Aleš committed Sep 4, 2019
1 parent 610985a commit 2d5f39eec11ff151d4d690f391bc1d1f47b98242
Showing with 1 addition and 2 deletions.
  1. +1 −1 tests/Tests/Translator.phpt
  2. +0 −1 tests/lang/messages.en_US.neon
@@ -130,7 +130,7 @@ class Translator extends Tests\TestAbstract
Tester\Assert::same('There are 5.9 apples', $translator->translate('messages.apples', ['count' => 5.9]));
Tester\Assert::same('Depth message', $translator->translate('messages.depth.message'));
Tester\Assert::same('missing.translation', $translator->translate('messages.missing.translation'));
Tester\Assert::same('Empty string key', $translator->translate('messages.'));
Tester\Assert::same('', $translator->translate('messages.'));
Tester\Assert::same('emptyDomain', $translator->translate('.emptyDomain'));
Tester\Assert::same('messages.some broken message', $translator->translate('messages.some broken message'));
@@ -7,4 +7,3 @@ very:
very:
depth:
message: "Very very depth message"
"": "Empty string key"

0 comments on commit 2d5f39e

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