KT-32366: Add tests for right preview window
- also, fix missing test generation in `GenerateTests` bunch files (which was introduced in e54b43ba)
This commit is contained in:
committed by
Roman Golyshev
parent
bddf87337c
commit
e488e920d8
@@ -0,0 +1,22 @@
|
||||
Hello world
|
||||
|
||||
Hello world
|
||||
|
||||
|
||||
|
||||
Hello world
|
||||
Hello world
|
||||
Hello world
|
||||
|
||||
Hello world
|
||||
Hello world
|
||||
<fold text='Hello world...'>Hello world
|
||||
Hello world</fold>
|
||||
|
||||
<fold text='Hello world...'>Hello world
|
||||
Hello world
|
||||
Hello world</fold>
|
||||
|
||||
Hello world
|
||||
Hello world
|
||||
Hello world
|
||||
@@ -0,0 +1,20 @@
|
||||
// PREVIEW_ENABLED: TRUE
|
||||
println("Hello world")
|
||||
|
||||
for (x in 1..1) {
|
||||
println("Hello world")
|
||||
}
|
||||
|
||||
for (x in 1..3) {
|
||||
println("Hello world")
|
||||
}
|
||||
|
||||
for (x in 1..4) {
|
||||
println("Hello world")
|
||||
}
|
||||
|
||||
println(List(3) { "Hello world" }.joinToString(separator = "\n"))
|
||||
|
||||
println(
|
||||
List(3) { "Hello world" }.joinToString(separator = "\n")
|
||||
)
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
<fold text='First string...'>First string
|
||||
Second string
|
||||
Third string</fold>
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
// PREVIEW_ENABLED: TRUE
|
||||
println("First string\nSecond string\nThird string")
|
||||
+1
@@ -0,0 +1 @@
|
||||
Single string
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
// PREVIEW_ENABLED: TRUE
|
||||
println("Single string")
|
||||
Reference in New Issue
Block a user