Fix formatting in some of test data files.
Adapted from https://github.com/develar/kotlin/commit/a9e0a42fb1347fa8e21c86b5a073ef8a7c873da0.
This commit is contained in:
@@ -4,17 +4,17 @@ import js.*
|
||||
|
||||
native
|
||||
class A(val c: Int) {
|
||||
native
|
||||
class object {
|
||||
val g: Int = js.noImpl
|
||||
val c: String = js.noImpl
|
||||
}
|
||||
native
|
||||
class object {
|
||||
val g: Int = js.noImpl
|
||||
val c: String = js.noImpl
|
||||
}
|
||||
}
|
||||
|
||||
fun box(): Boolean {
|
||||
if (A.g != 3) return false
|
||||
if (A.c != "hoooray") return false
|
||||
if (A(2).c != 2) return false
|
||||
if (A.g != 3) return false
|
||||
if (A.c != "hoooray") return false
|
||||
if (A(2).c != 2) return false
|
||||
|
||||
return true
|
||||
return true
|
||||
}
|
||||
Reference in New Issue
Block a user