added refactoring tests - non functional

This commit is contained in:
David Halter
2013-01-06 01:49:24 +01:00
parent 795d25d9a7
commit 4700656c71
2 changed files with 97 additions and 0 deletions

17
test/refactor/extract.py Normal file
View File

@@ -0,0 +1,17 @@
# --- a
def test():
#? 25 a
return test(1, (30 + b, c) + 1)
# +++
def test():
a = (30 + b, c) + 1
return test(a)
# --- multiline
def test():
return test(1, (30 + b, c) + 1)
# +++
def test():
a = (30 + b, c) + 1
return test(a)