X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;f=web%2Fcore%2Ftests%2FDrupal%2FTests%2FComponent%2FTransliteration%2FPhpTransliterationTest.php;h=924f3e93000b8799b7054da9574578f052cf0604;hb=0bf8d09d2542548982e81a441b1f16e75873a04f;hp=2800c51b200150f49e2767a62212e3790778696b;hpb=9917807b03b64faf00f6a1f29dcb6eafc454efa5;p=yaffs-website diff --git a/web/core/tests/Drupal/Tests/Component/Transliteration/PhpTransliterationTest.php b/web/core/tests/Drupal/Tests/Component/Transliteration/PhpTransliterationTest.php index 2800c51b2..924f3e930 100644 --- a/web/core/tests/Drupal/Tests/Component/Transliteration/PhpTransliterationTest.php +++ b/web/core/tests/Drupal/Tests/Component/Transliteration/PhpTransliterationTest.php @@ -106,7 +106,7 @@ class PhpTransliterationTest extends TestCase { // Make some strings with two, three, and four-byte characters for testing. // Note that the 3-byte character is overridden by the 'kg' language. $two_byte = 'Ä Ö Ü Å Ø äöüåøhello'; - // This is a Cyrrillic character that looks something like a u. See + // This is a Cyrillic character that looks something like a "u". See // http://www.unicode.org/charts/PDF/U0400.pdf $three_byte = html_entity_decode('ц', ENT_NOQUOTES, 'UTF-8'); // This is a Canadian Aboriginal character like a triangle. See @@ -182,7 +182,7 @@ class PhpTransliterationTest extends TestCase { ]); $transliteration = new PhpTransliteration(vfsStream::url('transliteration/dir')); $transliterated = $transliteration->transliterate(chr(0xC2) . chr(0x82), '../index'); - $this->assertSame($transliterated, 'safe'); + $this->assertSame('safe', $transliterated); } }