Rewrite old refactoring tests a bit to reuse them

This commit is contained in:
Dave Halter
2020-02-13 09:27:57 +01:00
parent 41602124c7
commit aef675c79b
3 changed files with 26 additions and 18 deletions

View File

@@ -1,18 +1,18 @@
# --- simple
# -------------------------------------------------- simple
def test():
#? 4
a = (30 + b, c) + 1
return test(100, a)
# +++
# ++++++++++++++++++++++++++++++++++++++++++++++++++
def test():
return test(100, (30 + b, c) + 1)
# --- simple
# -------------------------------------------------- simple
if 1:
#? 4
a = 1, 2
return test(100, a)
# +++
# ++++++++++++++++++++++++++++++++++++++++++++++++++
if 1:
return test(100, (1, 2))