Move statement out of top-level lambda in scripts (KT-19322)

#KT-19322 Fixed
This commit is contained in:
Nikolay Krasko
2017-08-03 14:51:46 +03:00
parent 656f8bb5cf
commit 6194bc10f8
9 changed files with 68 additions and 8 deletions
@@ -674,7 +674,7 @@ fun main(args: Array<String>) {
testClass<AbstractMoveStatementTest> {
model("codeInsight/moveUpDown/classBodyDeclarations", testMethod = "doTestClassBodyDeclaration")
model("codeInsight/moveUpDown/closingBraces", testMethod = "doTestExpression")
model("codeInsight/moveUpDown/expressions", testMethod = "doTestExpression")
model("codeInsight/moveUpDown/expressions", pattern = KT_OR_KTS, testMethod = "doTestExpression")
model("codeInsight/moveUpDown/parametersAndArguments", testMethod = "doTestExpression")
}