JS: use eval instead of js in tests to refer local declarations to avoid renaming by resolveTemporaryNames
This commit is contained in:
committed by
Alexey Andreev
parent
ce1eabdf6f
commit
c1627e840b
@@ -28,7 +28,7 @@ open class A {
|
||||
fun foo() {}
|
||||
|
||||
fun box(): String {
|
||||
val aBody = js("A").toString()
|
||||
val aBody = eval("A").toString()
|
||||
val expectedRegex = build {
|
||||
property("a")
|
||||
field("b")
|
||||
|
||||
Reference in New Issue
Block a user