JS: move more test to box tests

This commit is contained in:
Alexey Andreev
2016-08-29 12:37:13 +03:00
parent efb82a044f
commit cdf2212c73
70 changed files with 484 additions and 749 deletions
+14
View File
@@ -0,0 +1,14 @@
package foo
fun singleQuoted(i: Int): Int = js("return i")
fun tripleQuoted(i: Int): Int = js("""return i""")
fun tripleQuotedInnerQuotes(i: Int): String = js("""return "i"""")
fun box(): String {
assertEquals(0, singleQuoted(0))
assertEquals(0, tripleQuoted(0))
assertEquals("i", tripleQuotedInnerQuotes(0))
return "OK"
}