Update box tests to 1.2.0-rc-39

This commit is contained in:
Pavel Punegov
2017-11-09 20:27:53 +03:00
committed by Pavel Punegov
parent 0121b6a185
commit ffa1ffa659
442 changed files with 20811 additions and 165 deletions
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS, NATIVE
// IGNORE_BACKEND: NATIVE
object A {
const val a: String = "$"
@@ -7,7 +7,7 @@ object A {
const val c = 10000
val bNonConst = "1234$a"
val bNullable: String = "1234$a"
val bNullable: String? = "1234$a"
}
object B {
@@ -16,7 +16,7 @@ object B {
const val c = 10000
val bNonConst = "1234$a"
val bNullable: String = "1234$a"
val bNullable: String? = "1234$a"
}
fun box(): String {
@@ -26,8 +26,8 @@ fun box(): String {
if (A.c !== B.c) return "Fail 3: A.c !== B.c"
if (A.bNonConst === B.bNonConst) return "Fail 5: A.bNonConst == B.bNonConst"
if (A.bNullable === B.bNullable) return "Fail 6: A.bNullable == B.bNullable"
if (A.bNonConst !== B.bNonConst) return "Fail 4: A.bNonConst !== B.bNonConst"
if (A.bNullable !== B.bNullable) return "Fail 5: A.bNullable !== B.bNullable"
return "OK"
}