Skip to content

Commit

Permalink
fix: CI error 2
Browse files Browse the repository at this point in the history
  • Loading branch information
new5558 committed Jan 11, 2025
1 parent 7532488 commit ef44e60
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/core/test_tokenize.py
Original file line number Diff line number Diff line change
Expand Up @@ -411,11 +411,13 @@ def test_longest_custom_dict(self):
["ทดสอบ", " ", "ทดสอบ"],
)
self.assertEqual(
word_tokenize("ปวดเฉียบพลัน", engine="longest", custom_dict=dict_trie(["ปวดเฉียบพลัน"])),
word_tokenize(
"ปวดเฉียบพลัน", engine="longest", custom_dict=dict_trie(["ปวดเฉียบพลัน"])
),
["ปวดเฉียบพลัน"],
)
self.assertEqual(
word_tokenize("ทดสอบทดสอบ", engine="longest", custom_dict=dict_trie(["ทดสอบท"]) ),
word_tokenize("ทดสอบทดสอบ", engine="longest", custom_dict=dict_trie(["ทดสอบท"])),
["ทดสอบท", "ดสอบ"],
)
self.assertEqual(
Expand Down

0 comments on commit ef44e60

Please sign in to comment.