Skip to content

Commit 99bc304

Browse files
committed
Hebrew
1 parent 03d65a0 commit 99bc304

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tests/DetectLanguageTest.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,4 +127,11 @@ public function can_detect_armenian()
127127
$this->assertTrue(StringScript::isArmenian('բենգիմžē'));
128128
$this->assertFalse(StringScript::isArmenian('Hello world, and welcome this package.'));
129129
}
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+
}
130137
}

0 commit comments

Comments
 (0)