[Native][tests] Fix KLIB contents tests
This commit is contained in:
committed by
Space Team
parent
e6669b51d4
commit
fa34021a04
+4
-19
@@ -44,9 +44,6 @@ class ContentsTest {
|
|||||||
annotation class A constructor() : Annotation
|
annotation class A constructor() : Annotation
|
||||||
annotation class B constructor() : Annotation
|
annotation class B constructor() : Annotation
|
||||||
class Foo constructor()
|
class Foo constructor()
|
||||||
}
|
|
||||||
|
|
||||||
package <root> {
|
|
||||||
@A @B fun a()
|
@A @B fun a()
|
||||||
fun Foo.e()
|
fun Foo.e()
|
||||||
fun f1(x: Foo)
|
fun f1(x: Foo)
|
||||||
@@ -108,14 +105,14 @@ class ContentsTest {
|
|||||||
|
|
||||||
class B constructor() {
|
class B constructor() {
|
||||||
|
|
||||||
object C {
|
|
||||||
fun c()
|
|
||||||
}
|
|
||||||
|
|
||||||
companion object {
|
companion object {
|
||||||
fun b()
|
fun b()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
object C {
|
||||||
|
fun c()
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class D constructor() {
|
class D constructor() {
|
||||||
@@ -294,9 +291,6 @@ class ContentsTest {
|
|||||||
"""
|
"""
|
||||||
package custom.pkg {
|
package custom.pkg {
|
||||||
typealias MyTransformer = (String) -> Int
|
typealias MyTransformer = (String) -> Int
|
||||||
}
|
|
||||||
|
|
||||||
package custom.pkg {
|
|
||||||
val v1: Int = 1
|
val v1: Int = 1
|
||||||
val v2: String = "hello"
|
val v2: String = "hello"
|
||||||
val v3: (String) -> Int
|
val v3: (String) -> Int
|
||||||
@@ -310,9 +304,6 @@ class ContentsTest {
|
|||||||
"""
|
"""
|
||||||
package <root> {
|
package <root> {
|
||||||
typealias MyTransformer = (String) -> Int
|
typealias MyTransformer = (String) -> Int
|
||||||
}
|
|
||||||
|
|
||||||
package <root> {
|
|
||||||
val v1: Int = 1
|
val v1: Int = 1
|
||||||
val v2: String = "hello"
|
val v2: String = "hello"
|
||||||
val v3: (String) -> Int
|
val v3: (String) -> Int
|
||||||
@@ -328,9 +319,6 @@ class ContentsTest {
|
|||||||
object Bar
|
object Bar
|
||||||
class Foo constructor()
|
class Foo constructor()
|
||||||
typealias MyTransformer = (String) -> Int
|
typealias MyTransformer = (String) -> Int
|
||||||
}
|
|
||||||
|
|
||||||
package custom.pkg {
|
|
||||||
val v1: Int = 1
|
val v1: Int = 1
|
||||||
val v2: String = "hello"
|
val v2: String = "hello"
|
||||||
val v3: (String) -> Int
|
val v3: (String) -> Int
|
||||||
@@ -346,9 +334,6 @@ class ContentsTest {
|
|||||||
object Bar
|
object Bar
|
||||||
class Foo constructor()
|
class Foo constructor()
|
||||||
typealias MyTransformer = (String) -> Int
|
typealias MyTransformer = (String) -> Int
|
||||||
}
|
|
||||||
|
|
||||||
package <root> {
|
|
||||||
val v1: Int = 1
|
val v1: Int = 1
|
||||||
val v2: String = "hello"
|
val v2: String = "hello"
|
||||||
val v3: (String) -> Int
|
val v3: (String) -> Int
|
||||||
|
|||||||
Reference in New Issue
Block a user