comparison core/tests/Drupal/Tests/Component/Transliteration/PhpTransliterationTest.php @ 14:1fec387a4317

Update Drupal core to 8.5.2 via Composer
author Chris Cannam
date Mon, 23 Apr 2018 09:46:53 +0100
parents 4c8ae668cc8c
children 129ea1e6d783
comparison
equal deleted inserted replaced
13:5fb285c0d0e3 14:1fec387a4317
180 'index.php' => '<?php $overrides = ["../index" => [0x82 => "safe"]];', 180 'index.php' => '<?php $overrides = ["../index" => [0x82 => "safe"]];',
181 ], 181 ],
182 ]); 182 ]);
183 $transliteration = new PhpTransliteration(vfsStream::url('transliteration/dir')); 183 $transliteration = new PhpTransliteration(vfsStream::url('transliteration/dir'));
184 $transliterated = $transliteration->transliterate(chr(0xC2) . chr(0x82), '../index'); 184 $transliterated = $transliteration->transliterate(chr(0xC2) . chr(0x82), '../index');
185 $this->assertSame($transliterated, 'safe'); 185 $this->assertSame('safe', $transliterated);
186 } 186 }
187 187
188 } 188 }