[K/N] Convert and enable some tests using System.out?.println()

^KT-59057

Merge-request: KT-MR-10546
Merged-by: Vladimir Sukharev <Vladimir.Sukharev@jetbrains.com>
This commit is contained in:
Vladimir Sukharev
2023-06-15 20:00:27 +00:00
committed by Space Team
parent 67b00f86b7
commit 1e05cb308c
17 changed files with 77 additions and 109 deletions
+1 -9
View File
@@ -1,10 +1,3 @@
// IGNORE_BACKEND: WASM
// WASM_MUTE_REASON: IGNORED_IN_JS
// IGNORE_BACKEND: JS_IR
// IGNORE_BACKEND: JS_IR_ES6
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS, NATIVE
package w_range
fun box() : String {
@@ -13,6 +6,5 @@ fun box() : String {
1 -> i--
else -> { i = 2 }
}
System.out?.println(i)
return "OK"
return if (i == 2) "OK" else i.toString()
}