same problem with KeywordStatement
This commit is contained in:
1 parent
15fdecdb61
commit
ddc1cb0e6a
2 files changed
+5
-2
No files matched your search
@@ -96,6 +96,9 @@ def test_completion_on_complex_literals():
|
||||
assert api.Script('4j').completions() == []
|
||||
|
||||
|
||||
def test_goto_assignments_on_for():
|
||||
def test_goto_assignments_on_non_statement():
|
||||
with raises(api.NotFoundError):
|
||||
api.Script('for').goto_assignments()
|
||||
|
||||
with raises(api.NotFoundError):
|
||||
api.Script('assert').goto_assignments()
|
||||
Reference in new issue
Block a user