Skip to content

Commit

Permalink
Fix the name of the extra word lists we load
Browse files Browse the repository at this point in the history
  • Loading branch information
peternewman authored Jul 27, 2023
1 parent 3b466ee commit 9b5ce80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion codespell_lib/tests/test_dictionary.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

_test_data_dir = op.join(op.dirname(__file__), "..", "tests", "data")
for lang in supported_languages:
_wordlist = op.join(_test_data_dir, f"{lang}-additionnal.wordlist")
_wordlist = op.join(_test_data_dir, f"{lang}-additional.wordlist")
if op.isfile(_wordlist):
spellers[lang] = aspell.Speller(
("lang", lang), ("size", "80"), ("wordlists", _wordlist)
Expand Down

0 comments on commit 9b5ce80

Please sign in to comment.