[K/N][Tests] Support test directive ASSERTIONS_MODE
^KT-64844 Fixed
This commit is contained in:
committed by
Space Team
parent
809d652bdf
commit
fee2a20a55
+2
-1
@@ -1,13 +1,14 @@
|
||||
// IGNORE_BACKEND: WASM
|
||||
// WASM_MUTE_REASON: STDLIB_ASSERT
|
||||
// KT-59059
|
||||
// IGNORE_BACKEND: NATIVE
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
// IGNORE_BACKEND: JS
|
||||
// ASSERTIONS_MODE: always-disable
|
||||
// WITH_STDLIB
|
||||
|
||||
@file:Suppress("OPT_IN_USAGE_ERROR") // ExperimentalNativeApi is defined only in Native
|
||||
|
||||
fun checkTrue(): Boolean {
|
||||
var hit = false
|
||||
val l = { hit = true; true }
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
// IGNORE_BACKEND: JS
|
||||
// IGNORE_NATIVE: optimizationMode=OPT
|
||||
// ASSERTIONS_MODE: always-enable
|
||||
// WITH_STDLIB
|
||||
|
||||
|
||||
Reference in New Issue
Block a user