2 intentions for moving lambda functions;

moves lambda functions in function calls inside and outside of the
parenthesis: foo({ it }) <-> foo() { it }
This commit is contained in:
Tal Man
2014-02-08 19:20:25 -05:00
committed by Andrey Breslav
parent a18e2f7cfa
commit 8cf965db7e
48 changed files with 555 additions and 1 deletions
@@ -366,6 +366,8 @@ fun main(args: Array<String>) {
model("intentions/replaceWithInfixFunctionCall", testMethod = "doTestReplaceWithInfixFunctionCall")
model("intentions/removeCurlyBracesFromTemplate", testMethod = "doTestRemoveCurlyFromTemplate")
model("intentions/insertCurlyBracestsToTemplate", testMethod = "doTestInsertCurlyToTemplate")
model("intentions/moveLambdaInsideParentheses", testMethod = "doTestMoveLambdaInsideParentheses")
model("intentions/moveLambdaOutsideParentheses", testMethod = "doTestMoveLambdaOutsideParentheses")
}
testClass(javaClass<AbstractHierarchyTest>()) {