Update JS tests
This commit is contained in:
+1
-1
@@ -126,7 +126,7 @@ fun box(): String {
|
||||
return "failed when test calling order when using spread operator with some args"
|
||||
|
||||
val baz: Bar? = Bar(1)
|
||||
if (!(baz!!)?.test(0, 1, 1))
|
||||
if (!(baz!!)?.test(0, 1, 1)!!)
|
||||
return "failed when combined SureCall and SafeCall, maybe we lost cached expression"
|
||||
|
||||
val a = arrayOf(1, 2)
|
||||
|
||||
@@ -27,7 +27,7 @@ fun toJsClass(kType: KType) = (kType.classifier as KClass<*>)?.js
|
||||
|
||||
@ExperimentalStdlibApi
|
||||
fun box(): String {
|
||||
return test(toJsClass(typeOf<B>())).test()
|
||||
return test(toJsClass(typeOf<B>())!!).test()
|
||||
}
|
||||
|
||||
// FILE: test.js
|
||||
|
||||
Reference in New Issue
Block a user