Some sother small test improvements

This commit is contained in:
Dave Halter
2020-02-13 09:34:33 +01:00
parent aef675c79b
commit b4628abc60
3 changed files with 14 additions and 7 deletions

View File

@@ -0,0 +1,51 @@
# -------------------------------------------------- simple-1
def test():
#? 35 {'new_name': 'a'}
return test(100, (30 + b, c) + 1)
# ++++++++++++++++++++++++++++++++++++++++++++++++++
def test():
#? 35 {'new_name': 'a'}
a = (30 + b, c) + 1
return test(100, a)
# -------------------------------------------------- simple-2
def test():
#? 25 {'new_name': 'a'}
return test(100, (30 + b, c) + 1)
# ++++++++++++++++++++++++++++++++++++++++++++++++++
def test():
#? 25 {'new_name': 'a'}
a = 30 + b
return test(100, (a, c) + 1)
# -------------------------------------------------- multiline-1
def test():
#? 30 {'new_name': 'a'}
return test(1, (30 + b, c)
+ 1)
# ++++++++++++++++++++++++++++++++++++++++++++++++++
def test():
#? 30 {'new_name': 'a'}
x = ((30 + b, c)
+ 1)
return test(1, x
)
# -------------------------------------------------- multiline-2
def test():
#? 25 {'new_name': 'a'}
return test(1, (30 + b, c)
+ 1)
# ++++++++++++++++++++++++++++++++++++++++++++++++++
def test():
#? 25 {'new_name': 'a'}
x = 30 + b
return test(1, (x, c)
+ 1)