We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ebb3100 commit e40a650Copy full SHA for e40a650
tests/spellchecker_test.py
@@ -24,7 +24,7 @@ def test_correction(self):
24
def test_candidates(self):
25
"""test spell checker candidates"""
26
spell = SpellChecker()
27
- cands = {"ts", "thy", "tho", "thus", "ohs", "this", "the"}
+ cands = {"ts", "thy", "tho", "thus", "ohs", "this", "the", "th's", "thu", "t's", "hts", "th"}
28
self.assertEqual(spell.candidates("ths"), cands)
29
self.assertEqual(spell.candidates("the"), {"the"})
30
self.assertEqual(spell.candidates("-"), {"-"})
0 commit comments