forked from VimPlug/jedi
for flows triggered an exception if goto_assignments was used on the keyword. found with the help of sith.py
This commit is contained in:
@@ -94,3 +94,8 @@ def test_completion_on_complex_literals():
|
||||
_check_number('4.0j.', 'complex')
|
||||
# No dot no completion
|
||||
assert api.Script('4j').completions() == []
|
||||
|
||||
|
||||
def test_goto_assignments_on_for():
|
||||
with raises(api.NotFoundError):
|
||||
api.Script('for').goto_assignments()
|
||||
|
||||
Reference in New Issue
Block a user