1 parent 2f93919 commit 1cbc45eCopy full SHA for 1cbc45e
1 file changed
tests/tui/test_tui_input.py
@@ -152,6 +152,13 @@ def test_completer_at_references(self):
152
)
153
names = [x.text for x in completions]
154
self.assertIn("ME.md", names)
155
+ # @ inside a slash command also completes (regression: the
156
+ # @ was not stripped, so no file matched)
157
+ completions = list(
158
+ c.get_completions(Document(text="/review @scr", cursor_position=12), None)
159
+ )
160
+ names = [x.text for x in completions]
161
+ self.assertIn("eenshot.png", names)
162
163
def test_completer_unlistable_directory_no_crash(self):
164
"""A path whose directory cannot be listed yields no completions
0 commit comments