You are here

public function TranslatorTest::getInvalidLocalesTests in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/translation/Tests/TranslatorTest.php \Symfony\Component\Translation\Tests\TranslatorTest::getInvalidLocalesTests()

File

vendor/symfony/translation/Tests/TranslatorTest.php, line 434

Class

TranslatorTest

Namespace

Symfony\Component\Translation\Tests

Code

public function getInvalidLocalesTests() {
  return array(
    array(
      'fr FR',
    ),
    array(
      'français',
    ),
    array(
      'fr+en',
    ),
    array(
      'utf#8',
    ),
    array(
      'fr&en',
    ),
    array(
      'fr~FR',
    ),
    array(
      ' fr',
    ),
    array(
      'fr ',
    ),
    array(
      'fr*',
    ),
    array(
      'fr/FR',
    ),
    array(
      'fr\\FR',
    ),
  );
}