Remove reference to System.out.println from test.

This makes the test usable for non-jvm targets as well.
This commit is contained in:
Mads Ager
2022-07-28 15:37:27 +02:00
committed by Space
parent 9a57c6ccc3
commit efde7c53d2
@@ -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
fun box() : String {
var sum : Int = 0
var i = 0
@@ -70,7 +63,6 @@ fun box() : String {
for (el in b) {
sum = sum + (el ?: 0)
}
System.out?.println(sum)
if(sum != 10) return "b failed"
return "OK"