We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 03d65a0 commit 99bc304Copy full SHA for 99bc304
tests/DetectLanguageTest.php
@@ -127,4 +127,11 @@ public function can_detect_armenian()
127
$this->assertTrue(StringScript::isArmenian('բենգիմžē'));
128
$this->assertFalse(StringScript::isArmenian('Hello world, and welcome this package.'));
129
}
130
+
131
+ /** @test */
132
+ public function can_detect_hebrew()
133
+ {
134
+ $this->assertTrue(StringScript::isHebrew('א ב ג ד ה ו ז ח ט י'));
135
+ $this->assertFalse(StringScript::isHebrew('Hello world, and welcome this package.'));
136
+ }
137
0 commit comments