mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fixed tests (CreateFunctionQuickFix, LambdaToFunctionIntention)
This commit is contained in:
@@ -1,6 +1,2 @@
|
||||
def func(seq):
|
||||
def function(x, y):
|
||||
return (x + y) / y
|
||||
|
||||
newlist = reduce(function
|
||||
, seq)
|
||||
def newlist(x, y):
|
||||
return (x + y) / y
|
||||
|
||||
@@ -1,2 +1 @@
|
||||
def func(seq):
|
||||
newlist = reduce(lambda x<caret>, y: (x+y)/y, seq)
|
||||
newlist = lambda x<caret>, y: (x+y)/y
|
||||
Reference in New Issue
Block a user