Skip to content

Commit 2b446af

Browse files
committed
Update test misspell cli
1 parent eae6478 commit 2b446af

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

tests/core/test_cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ def test_cli_misspell(self):
154154
"thainlp",
155155
"misspell",
156156
"--file",
157-
"./some/data.txt",
157+
"./tests/data/text.txt",
158158
"--seed",
159159
"1",
160160
"--misspell-ratio",

tests/data/text.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ผมไม่ชอบกินผัก ดังนั้นผมจึงมักจะเลือกทานอาหารที่มีเนื้อสัตว์เป็นส่วนใหญ่ อย่างไรก็ตาม ผมก็รู้ว่าการทานผักมีประโยชน์ต่อสุขภาพ ดังนั้นผมจึงพยายามทานผักบ้างในบางมื้อ แต่ผมก็ยังคงเลือกทานผักที่ผมชอบเท่านั้น อย่างเช่น ถั่วฝักยาว หรือ ถั่วฝักยาว ซึ่งผมคิดว่ามันก็เป็นผักที่อร่อยและมีประโยชน์ด้วย

0 commit comments

Comments
 (0)