Minor: add test that output at scratch line with spaces at the beginning is aligned properly
This commit is contained in:
@@ -0,0 +1,3 @@
|
|||||||
|
val a = 1 // RESULT: val a: Int
|
||||||
|
a // RESULT: 1
|
||||||
|
a // RESULT: 1
|
||||||
+3
@@ -0,0 +1,3 @@
|
|||||||
|
val a = 1
|
||||||
|
a
|
||||||
|
a
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
val a = 1
|
||||||
|
a // RESULT: 1
|
||||||
|
a // RESULT: 1
|
||||||
+10
@@ -56,6 +56,11 @@ public class ScratchRunActionTestGenerated extends AbstractScratchRunActionTest
|
|||||||
runTest("idea/testData/scratch/simpleFun.kts");
|
runTest("idea/testData/scratch/simpleFun.kts");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@TestMetadata("spacesAtLineStart.kts")
|
||||||
|
public void testSpacesAtLineStart() throws Exception {
|
||||||
|
runTest("idea/testData/scratch/spacesAtLineStart.kts");
|
||||||
|
}
|
||||||
|
|
||||||
@TestMetadata("stdlibFun.kts")
|
@TestMetadata("stdlibFun.kts")
|
||||||
public void testStdlibFun() throws Exception {
|
public void testStdlibFun() throws Exception {
|
||||||
runTest("idea/testData/scratch/stdlibFun.kts");
|
runTest("idea/testData/scratch/stdlibFun.kts");
|
||||||
@@ -129,6 +134,11 @@ public class ScratchRunActionTestGenerated extends AbstractScratchRunActionTest
|
|||||||
runTest("idea/testData/scratch/simpleFun.kts");
|
runTest("idea/testData/scratch/simpleFun.kts");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@TestMetadata("spacesAtLineStart.kts")
|
||||||
|
public void testSpacesAtLineStart() throws Exception {
|
||||||
|
runTest("idea/testData/scratch/spacesAtLineStart.kts");
|
||||||
|
}
|
||||||
|
|
||||||
@TestMetadata("stdlibFun.kts")
|
@TestMetadata("stdlibFun.kts")
|
||||||
public void testStdlibFun() throws Exception {
|
public void testStdlibFun() throws Exception {
|
||||||
runTest("idea/testData/scratch/stdlibFun.kts");
|
runTest("idea/testData/scratch/stdlibFun.kts");
|
||||||
|
|||||||
Reference in New Issue
Block a user