JS: use eval instead of js in tests to refer local declarations to avoid renaming by resolveTemporaryNames

This commit is contained in:
Alexey Andreev
2017-02-08 16:08:25 +03:00
committed by Alexey Andreev
parent ce1eabdf6f
commit c1627e840b
5 changed files with 6 additions and 6 deletions
@@ -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")