KT-1312 Formatter: After package directive should be empty line - test

This commit is contained in:
Nikolay Krasko
2012-03-06 13:29:58 +04:00
parent 72c9eef31b
commit ccaffd8165
4 changed files with 24 additions and 1 deletions
@@ -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();
}