Skip to content

Commit e40a650

Browse files
committed
fix test
1 parent ebb3100 commit e40a650

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/spellchecker_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def test_correction(self):
2424
def test_candidates(self):
2525
"""test spell checker candidates"""
2626
spell = SpellChecker()
27-
cands = {"ts", "thy", "tho", "thus", "ohs", "this", "the"}
27+
cands = {"ts", "thy", "tho", "thus", "ohs", "this", "the", "th's", "thu", "t's", "hts", "th"}
2828
self.assertEqual(spell.candidates("ths"), cands)
2929
self.assertEqual(spell.candidates("the"), {"the"})
3030
self.assertEqual(spell.candidates("-"), {"-"})

0 commit comments

Comments
 (0)