[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:
committed by
Space Team
parent
67b00f86b7
commit
1e05cb308c
@@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user