Skip to content

Commit 03d65a0

Browse files
committed
Armenian test
1 parent afde840 commit 03d65a0

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
@@ -120,4 +120,11 @@ public function can_detect_devanagari()
120120
$this->assertTrue(StringScript::isDevanagari('सदाऽऽत्मा'));
121121
$this->assertFalse(StringScript::isDevanagari('Hello world, and welcome this package.'));
122122
}
123+
124+
/** @test */
125+
public function can_detect_armenian()
126+
{
127+
$this->assertTrue(StringScript::isArmenian('բենգիմžē'));
128+
$this->assertFalse(StringScript::isArmenian('Hello world, and welcome this package.'));
129+
}
123130
}

0 commit comments

Comments
 (0)