File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -42,6 +42,7 @@ public function testDefaultTransliteratorId()
4242 public function testUnsupportedTransliterationId ()
4343 {
4444 $ this ->expectException (UnsupportedTransliteratorIdentifierException::class);
45+ $ this ->expectExceptionMessage ('The transliterator identifier "Morrowind-Oblivion/KFC" is not supported ' );
4546
4647 $ slugger = new Slugger ();
4748
@@ -128,6 +129,7 @@ public function testSlugifyWithNumbers()
128129 public function testTransliterateWithInvalidCompound ()
129130 {
130131 $ this ->expectException (UnableToCreateTransliteratorException::class);
132+ $ this ->expectExceptionMessage ('Unable to create transliterator with compound "Russian-Latin/BGN; UndefinedCommand()" ' );
131133
132134 $ slugger = new Slugger ();
133135
You can’t perform that action at this time.
0 commit comments