[JS IR] Fix JS box tests

^KT-62425
This commit is contained in:
Alexander Korepanov
2023-10-11 12:34:40 +02:00
committed by Space Team
parent b9c7a672b8
commit 78aa34b3e8
4 changed files with 8 additions and 5 deletions
+2 -1
View File
@@ -5,6 +5,7 @@ fun box(): String {
var c: Int = 0
val code = "c = 3"
@Suppress("JSCODE_ARGUMENT_NON_CONST_EXPRESSION")
js(code)
assertEquals(3, c)
@@ -12,4 +13,4 @@ fun box(): String {
assertEquals(5, c)
return "OK"
}
}