We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 99bc304 commit 4030ceaCopy full SHA for 4030cea
tests/DetectLanguageTest.php
@@ -134,4 +134,11 @@ public function can_detect_hebrew()
134
$this->assertTrue(StringScript::isHebrew('א ב ג ד ה ו ז ח ט י'));
135
$this->assertFalse(StringScript::isHebrew('Hello world, and welcome this package.'));
136
}
137
+
138
+ /** @test */
139
+ public function can_detect_mongolian()
140
+ {
141
+ $this->assertTrue(StringScript::isMongolian('ᠪᠣᠯᠠᠢ᠃'));
142
+ $this->assertFalse(StringScript::isMongolian('Hello world, and welcome this package.'));
143
+ }
144
0 commit comments