X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=vendor%2Fsymfony%2Fvalidator%2FTests%2FResources%2FTranslationFilesTest.php;fp=vendor%2Fsymfony%2Fvalidator%2FTests%2FResources%2FTranslationFilesTest.php;h=d2b8a990117219e3a972fa178476f2125848f60c;hp=96311cfeff32612bc6143e7fd335461fd303f804;hb=af6d1fb995500ae68849458ee10d66abbdcfb252;hpb=680c79a86e3ed402f263faeac92e89fb6d9edcc0 diff --git a/vendor/symfony/validator/Tests/Resources/TranslationFilesTest.php b/vendor/symfony/validator/Tests/Resources/TranslationFilesTest.php index 96311cfef..d2b8a9901 100644 --- a/vendor/symfony/validator/Tests/Resources/TranslationFilesTest.php +++ b/vendor/symfony/validator/Tests/Resources/TranslationFilesTest.php @@ -36,4 +36,13 @@ class TranslationFilesTest extends TestCase glob(dirname(dirname(__DIR__)).'/Resources/translations/*.xlf') ); } + + public function testNorwegianAlias() + { + $this->assertFileEquals( + dirname(dirname(__DIR__)).'/Resources/translations/validators.nb.xlf', + dirname(dirname(__DIR__)).'/Resources/translations/validators.no.xlf', + 'The NO locale should be an alias for the NB variant of the Norwegian language.' + ); + } }