Udate test framework for confidence tests. Move type directive to test files
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
fun test() {
|
||||
12.in<caret>
|
||||
}
|
||||
}
|
||||
|
||||
// TYPE: "."
|
||||
@@ -1,3 +1,5 @@
|
||||
fun test() {
|
||||
12.inc(). <caret>
|
||||
}
|
||||
12.inc().<caret>
|
||||
}
|
||||
|
||||
// TYPE: "."
|
||||
@@ -1 +1,3 @@
|
||||
import kotlin.util <caret>// Comment to prevent for removing trailing spaces
|
||||
import kotlin.util <caret>// Comment to prevent for removing trailing spaces
|
||||
|
||||
// TYPE: "as"
|
||||
@@ -1 +1,3 @@
|
||||
import kotlin.util as // Comment to prevent for removing trailing spaces
|
||||
import kotlin.util as// Comment to prevent for removing trailing spaces
|
||||
|
||||
// TYPE: "as"
|
||||
@@ -1,4 +1,6 @@
|
||||
fun main(args : Array<String>) {
|
||||
val mmm = 12
|
||||
val t = { <caret>}
|
||||
}
|
||||
}
|
||||
|
||||
// TYPE: "mm "
|
||||
@@ -1,4 +1,6 @@
|
||||
fun main(args : Array<String>) {
|
||||
val mmm = 12
|
||||
val t = { mm }
|
||||
}
|
||||
}
|
||||
|
||||
// TYPE: "mm "
|
||||
@@ -1,4 +1,6 @@
|
||||
fun main(args : Array<String>) {
|
||||
val mmm = 12
|
||||
val t = { (<caret>) }
|
||||
}
|
||||
}
|
||||
|
||||
// TYPE: "mm "
|
||||
@@ -1,4 +1,6 @@
|
||||
fun main(args : Array<String>) {
|
||||
val mmm = 12
|
||||
val t = { (mm ) }
|
||||
}
|
||||
}
|
||||
|
||||
// TYPE: "mm "
|
||||
@@ -1,4 +1,6 @@
|
||||
fun main(args : Array<String>) {
|
||||
val mmm = 12
|
||||
val t = { i -> <caret>}
|
||||
}
|
||||
}
|
||||
|
||||
// TYPE: "mm "
|
||||
@@ -1,4 +1,6 @@
|
||||
fun main(args : Array<String>) {
|
||||
val mmm = 12
|
||||
val t = { i -> mmm }
|
||||
}
|
||||
}
|
||||
|
||||
// TYPE: "mm "
|
||||
@@ -2,4 +2,6 @@ package test
|
||||
|
||||
import java.util.AbstractSet as Hello
|
||||
|
||||
<caret>// Comment to prevent for removing trailing spaces
|
||||
<caret>// Comment to prevent for removing trailing spaces
|
||||
|
||||
// TYPE: "pub "
|
||||
@@ -2,4 +2,6 @@ package test
|
||||
|
||||
import java.util.AbstractSet as Hello
|
||||
|
||||
public // Comment to prevent for removing trailing spaces
|
||||
public // Comment to prevent for removing trailing spaces
|
||||
|
||||
// TYPE: "pub "
|
||||
@@ -2,3 +2,5 @@ fun test() {
|
||||
for (i in 12.<caret>) {
|
||||
}
|
||||
}
|
||||
|
||||
// TYPE: "."
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
fun test() {
|
||||
for (i in 12.. ) {
|
||||
for (i in 12..) {
|
||||
}
|
||||
}
|
||||
|
||||
// TYPE: "."
|
||||
|
||||
Reference in New Issue
Block a user