mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-06 22:14:27 +08:00
fix another position problem with the reverse tokenizer. includes tests.
This commit is contained in:
@@ -425,6 +425,10 @@ class TestRegression(TestBase):
|
||||
[1, 2, 3, 4, 5, 6, 7, 8, 9, x] # <-- here
|
||||
""", '] # <-- here', ['int'])
|
||||
|
||||
# completion in whitespace
|
||||
s = 'asdfxyxxxxxxxx sds\\\n hello'
|
||||
assert self.goto_assignments(s, (2, 4)) == []
|
||||
|
||||
def test_backslash_continuation_and_bracket(self):
|
||||
self.check_definition_by_marker(r"""
|
||||
x = 0
|
||||
|
||||
Reference in New Issue
Block a user