mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-25 06:44:59 +00:00
fix /read completions
This commit is contained in:
parent
530dae2a98
commit
a3554ffbbc
3 changed files with 6 additions and 2 deletions
|
@ -34,6 +34,7 @@ class TestInputOutput(unittest.TestCase):
|
|||
|
||||
Path(fname).write_text("def hello(): pass\n")
|
||||
autocompleter = AutoCompleter(root, rel_fnames, addable_rel_fnames, commands, "utf-8")
|
||||
autocompleter.tokenize()
|
||||
dump(autocompleter.words)
|
||||
self.assertEqual(autocompleter.words, set(rel_fnames + [("hello", "`hello`")]))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue