From efde7c53d297487adddf5d6b591e9f9854f1beaf Mon Sep 17 00:00:00 2001 From: Mads Ager Date: Thu, 28 Jul 2022 15:37:27 +0200 Subject: [PATCH] Remove reference to System.out.println from test. This makes the test usable for non-jvm targets as well. --- .../testData/codegen/box/controlStructures/forUserType.kt | 8 -------- 1 file changed, 8 deletions(-) diff --git a/compiler/testData/codegen/box/controlStructures/forUserType.kt b/compiler/testData/codegen/box/controlStructures/forUserType.kt index 8799e3bcbb8..40325eb38c8 100644 --- a/compiler/testData/codegen/box/controlStructures/forUserType.kt +++ b/compiler/testData/codegen/box/controlStructures/forUserType.kt @@ -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"