KT-1312 Formatter: After package directive should be empty line - test
This commit is contained in:
@@ -2,4 +2,3 @@
|
||||
|
||||
#end
|
||||
#parse("File Header.java")
|
||||
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
package p1.p2;/**
|
||||
* Created with IntelliJ IDEA.
|
||||
* User: someone
|
||||
* Date: 2/16/12
|
||||
* Time: 4:23 PM
|
||||
* To change this template use File | Settings | File Templates.
|
||||
*/
|
||||
|
||||
// TODO: Fix formatting of doc comments
|
||||
@@ -0,0 +1,11 @@
|
||||
package p1.p2;
|
||||
|
||||
/**
|
||||
* Created with IntelliJ IDEA.
|
||||
* User: someone
|
||||
* Date: 2/16/12
|
||||
* Time: 4:23 PM
|
||||
* To change this template use File | Settings | File Templates.
|
||||
*/
|
||||
|
||||
// TODO: Fix formatting of doc comments
|
||||
@@ -32,6 +32,10 @@ public class JetFormatterTest extends AbstractJetFormatterTest {
|
||||
doTest();
|
||||
}
|
||||
|
||||
public void testEmptyLineAfterPackage() throws Exception {
|
||||
doTest();
|
||||
}
|
||||
|
||||
public void testForNoBraces() throws Exception {
|
||||
doTest();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user