Explorar o código

Merge pull request #886 from PrivateBin/scrutinizer-i18n-test

allow for Lojban (jbo) to be the "any" language pick
El RIDO %!s(int64=4) %!d(string=hai) anos
pai
achega
9443900f66
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      tst/I18nTest.php

+ 1 - 1
tst/I18nTest.php

@@ -145,7 +145,7 @@ class I18nTest extends PHPUnit_Framework_TestCase
     {
         $_SERVER['HTTP_ACCEPT_LANGUAGE'] = '*';
         I18n::loadTranslations();
-        $this->assertTrue(strlen(I18n::_('en')) == 2, 'browser language any');
+        $this->assertTrue(strlen(I18n::_('en')) >= 2, 'browser language any');
     }
 
     public function testVariableInjection()