This commit is contained in:
Paul Gauthier 2023-07-10 15:33:46 -07:00
parent 9bc450977d
commit aedfa64eb9

View file

@ -16,7 +16,7 @@ class TestInputOutput(unittest.TestCase):
rel_fnames = ["non_existent_file.txt"]
addable_rel_fnames = []
commands = None
autocompleter = AutoCompleter(root, rel_fnames, addable_rel_fnames, commands)
autocompleter = AutoCompleter(root, rel_fnames, addable_rel_fnames, commands, "utf-8")
self.assertEqual(autocompleter.words, set(rel_fnames))