Skip to content

Commit d5e47f8

Browse files
authored
Fix hindi test and schemes (#24)
* test: Fix hindi test cases According to the current hindi scheme and mainstream usage: taa corresponds to ता tha corresponds to था * schemes: Remove duplicated "y" key in hindi schemes This removes warning messages while building hindi schemes
1 parent 96d3182 commit d5e47f8

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

schemes/hi/hi.scheme

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ consonants "k" => "क",
6969
["N"] => "ण",
7070
["dh"] => "ध",
7171
["n"] => "न",
72-
"y" => "य",
7372
"r" => ["र", "र#{$virama}"],
7473
"l" => ["ल", "ल#{$virama}"],
7574
["v", "w"] => "व",

test/hi.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ def setup
88

99
def test_words
1010
list = {
11-
'kithaab' => 'किताब',
12-
'pithaa' => 'पिता'
11+
'kitaab' => 'किताब',
12+
'pitaa' => 'पिता'
1313
}
1414
list.each do |pattern, expected|
1515
# TODO assert length of result array too

0 commit comments

Comments
 (0)