Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
barrust committed Mar 9, 2024
1 parent ebb3100 commit e40a650
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/spellchecker_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def test_correction(self):
def test_candidates(self):
"""test spell checker candidates"""
spell = SpellChecker()
cands = {"ts", "thy", "tho", "thus", "ohs", "this", "the"}
cands = {"ts", "thy", "tho", "thus", "ohs", "this", "the", "th's", "thu", "t's", "hts", "th"}
self.assertEqual(spell.candidates("ths"), cands)
self.assertEqual(spell.candidates("the"), {"the"})
self.assertEqual(spell.candidates("-"), {"-"})
Expand Down

0 comments on commit e40a650

Please sign in to comment.