1
0
forked from VimPlug/jedi

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

@@ -5,6 +5,7 @@ def test():
# ++++++++++++++++++++++++++++++++++++++++++++++++++
def test():
#? 35 {'new_name': 'a'}
a = (30 + b, c) + 1
return test(100, a)
@@ -16,6 +17,7 @@ def test():
# ++++++++++++++++++++++++++++++++++++++++++++++++++
def test():
#? 25 {'new_name': 'a'}
a = 30 + b
return test(100, (a, c) + 1)
@@ -27,6 +29,7 @@ def test():
+ 1)
# ++++++++++++++++++++++++++++++++++++++++++++++++++
def test():
#? 30 {'new_name': 'a'}
x = ((30 + b, c)
+ 1)
return test(1, x
@@ -40,6 +43,7 @@ def test():
+ 1)
# ++++++++++++++++++++++++++++++++++++++++++++++++++
def test():
#? 25 {'new_name': 'a'}
x = 30 + b
return test(1, (x, c)
+ 1)

View File

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