mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-03-30 15:51:53 +00:00
Minor: add test that output at scratch line with spaces at the beginning is aligned properly
This commit is contained in:
3
idea/testData/scratch/spacesAtLineStart.comp.after
vendored
Normal file
3
idea/testData/scratch/spacesAtLineStart.comp.after
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
val a = 1 // RESULT: val a: Int
|
||||
a // RESULT: 1
|
||||
a // RESULT: 1
|
||||
3
idea/testData/scratch/spacesAtLineStart.kts
vendored
Normal file
3
idea/testData/scratch/spacesAtLineStart.kts
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
val a = 1
|
||||
a
|
||||
a
|
||||
3
idea/testData/scratch/spacesAtLineStart.repl.after
vendored
Normal file
3
idea/testData/scratch/spacesAtLineStart.repl.after
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
val a = 1
|
||||
a // RESULT: 1
|
||||
a // RESULT: 1
|
||||
@@ -56,6 +56,11 @@ public class ScratchRunActionTestGenerated extends AbstractScratchRunActionTest
|
||||
runTest("idea/testData/scratch/simpleFun.kts");
|
||||
}
|
||||
|
||||
@TestMetadata("spacesAtLineStart.kts")
|
||||
public void testSpacesAtLineStart() throws Exception {
|
||||
runTest("idea/testData/scratch/spacesAtLineStart.kts");
|
||||
}
|
||||
|
||||
@TestMetadata("stdlibFun.kts")
|
||||
public void testStdlibFun() throws Exception {
|
||||
runTest("idea/testData/scratch/stdlibFun.kts");
|
||||
@@ -129,6 +134,11 @@ public class ScratchRunActionTestGenerated extends AbstractScratchRunActionTest
|
||||
runTest("idea/testData/scratch/simpleFun.kts");
|
||||
}
|
||||
|
||||
@TestMetadata("spacesAtLineStart.kts")
|
||||
public void testSpacesAtLineStart() throws Exception {
|
||||
runTest("idea/testData/scratch/spacesAtLineStart.kts");
|
||||
}
|
||||
|
||||
@TestMetadata("stdlibFun.kts")
|
||||
public void testStdlibFun() throws Exception {
|
||||
runTest("idea/testData/scratch/stdlibFun.kts");
|
||||
|
||||
Reference in New Issue
Block a user