1
0
forked from VimPlug/jedi

Make sure to have a rename test if no name is under the cursor

This commit is contained in:
Dave Halter
2020-02-14 14:24:05 +01:00
parent dbf88f2750
commit 14180ad185
2 changed files with 9 additions and 1 deletions

View File

@@ -3,6 +3,11 @@ Test coverage for renaming is mostly being done by testing
`Script.get_references`.
"""
# -------------------------------------------------- no-name
#? 0 error {'new_name': 'blabla'}
1
# ++++++++++++++++++++++++++++++++++++++++++++++++++
There is no name under the cursor
# -------------------------------------------------- simple
def test1():
#? 7 {'new_name': 'blabla'}