mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
IDEA-90860 Reformat Code breaks Copyright/Header
A test is added
This commit is contained in:
+13
@@ -503,4 +503,17 @@ public class JavaFormatterIndentationTest extends AbstractJavaFormatterTest {
|
||||
"// This is a line comment"
|
||||
);
|
||||
}
|
||||
|
||||
public void testMultilineComment() {
|
||||
// IDEA-90860
|
||||
String text =
|
||||
"\n" +
|
||||
"/*\n" +
|
||||
" * comment\n" +
|
||||
" */\n" +
|
||||
"\n" +
|
||||
"class Test {\n" +
|
||||
"}";
|
||||
doTextTest(text, text);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user