Skip to content

Commit 769db1b

Browse files
authored
Fix expected output format in Thai text analysis tests
1 parent 5d8651c commit 769db1b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/core/test_util.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -879,9 +879,9 @@ def test_longest_common_subsequence(self):
879879
def test_analyze_thai_text(self):
880880
self.assertEqual(
881881
analyze_thai_text("คนดี"),
882-
[{"ค": 1}, {"น": 1}, {"ด": 1}, {"สระ อี": 1}]
882+
{"ค": 1, "น": 1, "ด": 1, "สระ อี": 1}
883883
)
884884
self.assertEqual(
885885
analyze_thai_text("เล่น"),
886-
[{'สระ เอ': 1}, {'ล': 1}, {'ไม้เอก': 1}, {'น': 1}]
886+
{'สระ เอ': 1, 'ล': 1, 'ไม้เอก': 1, 'น': 1}
887887
)

0 commit comments

Comments
 (0)