Formatter: handle spaces around 'is' keyword (#874)

Fixes #KT-12548
This commit is contained in:
Kirill Rakhman
2016-05-30 19:35:33 +02:00
committed by Dmitry Jemerov
parent fbd671c158
commit 93ebb3da65
4 changed files with 17 additions and 0 deletions
@@ -349,6 +349,12 @@ public class FormatterTestGenerated extends AbstractFormatterTest {
doTest(fileName);
}
@TestMetadata("Is.after.kt")
public void testIs() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("idea/testData/formatter/Is.after.kt");
doTest(fileName);
}
@TestMetadata("KDoc.after.kt")
public void testKDoc() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("idea/testData/formatter/KDoc.after.kt");