mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-06 22:14:27 +08:00
Get the first rename test passing
This commit is contained in:
@@ -3,15 +3,21 @@ Test coverage for renaming is mostly being done by testing
|
||||
`Script.get_references`.
|
||||
"""
|
||||
|
||||
# --- simple
|
||||
# ----- simple
|
||||
def test1():
|
||||
#? 7 blabla
|
||||
test1()
|
||||
AssertionError
|
||||
return test1, test1.not_existing
|
||||
# +++
|
||||
def blabla():
|
||||
blabla()
|
||||
AssertionError
|
||||
return blabla, blabla.not_existing
|
||||
|
||||
# +++++
|
||||
--- /home/dave/source/jedi/test/refactor/rename.py
|
||||
+++ /home/dave/source/jedi/test/refactor/rename.py
|
||||
@@ -1,6 +1,6 @@
|
||||
-def test1():
|
||||
+def blabla():
|
||||
#? 7 blabla
|
||||
- test1()
|
||||
+ blabla()
|
||||
AssertionError
|
||||
- return test1, test1.not_existing
|
||||
+ return blabla, blabla.not_existing
|
||||
|
||||
Reference in New Issue
Block a user