Fix formatting for when with subjects (KT-27027)

#KT-27027 Fixed
This commit is contained in:
Nikolay Krasko
2018-09-25 17:48:39 +03:00
parent 0833f23d02
commit 1be491504a
4 changed files with 66 additions and 0 deletions
@@ -776,6 +776,11 @@ public class FormatterTestGenerated extends AbstractFormatterTest {
runTest("idea/testData/formatter/WhenLinesBeforeLbrace.after.kt");
}
@TestMetadata("WhenWithVariable.after.kt")
public void testWhenWithVariable() throws Exception {
runTest("idea/testData/formatter/WhenWithVariable.after.kt");
}
@TestMetadata("WhereClause.after.kt")
public void testWhereClause() throws Exception {
runTest("idea/testData/formatter/WhereClause.after.kt");