IR text tests: Stable blank lines between declarations in class
Rework rendering of kt-like dump and signatures dump in order to avoid unstable blank line between declarations of the same level: 1. No blank line for the first declaration inside the member scope of the class. 2. Always a single blank line between each two subsequent declarations inside the member scope of the class.
This commit is contained in:
committed by
Space Team
parent
4532f52898
commit
16d1e85932
+5
@@ -122,6 +122,11 @@ public class KlibIrTextTestCaseGenerated extends AbstractKlibIrTextTestCase {
|
||||
runTest("compiler/testData/ir/irText/classes/enumClassModality.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("enumEntries.kt")
|
||||
public void testEnumEntries() throws Exception {
|
||||
runTest("compiler/testData/ir/irText/classes/enumEntries.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("enumWithMultipleCtors.kt")
|
||||
public void testEnumWithMultipleCtors() throws Exception {
|
||||
runTest("compiler/testData/ir/irText/classes/enumWithMultipleCtors.kt");
|
||||
|
||||
Reference in New Issue
Block a user