JS IR: mute codegen box tests automatically

This commit is contained in:
Anton Bannykh
2018-06-07 14:17:45 +03:00
parent 7e1713af44
commit 96355e2732
2384 changed files with 2384 additions and 0 deletions
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JS_IR
// WITH_RUNTIME
import kotlin.test.assertEquals
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JS_IR
// WITH_RUNTIME
import kotlin.test.assertEquals
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JS_IR
// WITH_RUNTIME
import kotlin.test.assertEquals
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JS_IR
// WITH_RUNTIME
import kotlin.test.assertEquals
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JS_IR
fun box() : String {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JS_IR
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS, NATIVE
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JS_IR
fun box(): String {
var s = ""
var foo = "O"
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JS_IR
fun box(): String {
fun foo(x: String) = x
fun foo() = foo("K")
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JS_IR
fun box(): String {
var s = ""
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JS_IR
fun box(): String {
var s = ""
var foo = "K"
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JS_IR
fun box(): String {
var s = ""
var foo = "O"
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JS_IR
fun foo(): String {
fun bar(x: String, y: String = x): String {
return y