Fix JDK-dependent stdlib tests after advancing jvmTarget
This commit is contained in:
@@ -11,13 +11,6 @@ public actual fun assertTypeEquals(expected: Any?, actual: Any?) {
|
||||
assertEquals(expected?.let { it::class.js }, actual?.let { it::class.js })
|
||||
}
|
||||
|
||||
@Suppress("NOTHING_TO_INLINE")
|
||||
internal actual inline fun String.removeLeadingPlusOnJava6(): String = this
|
||||
|
||||
internal actual inline fun testOnNonJvm6And7(f: () -> Unit) {
|
||||
f()
|
||||
}
|
||||
|
||||
|
||||
public actual fun testOnJvm(action: () -> Unit) { }
|
||||
public actual fun testOnJs(action: () -> Unit) = action()
|
||||
@@ -25,8 +18,6 @@ public actual fun testOnJs(action: () -> Unit) = action()
|
||||
// TODO: should be true at least in JS IR after implementing KT-24975
|
||||
public actual val isFloat32RangeEnforced: Boolean = false
|
||||
|
||||
actual val supportsSuppressedExceptions: Boolean get() = true
|
||||
|
||||
public actual val supportsNamedCapturingGroup: Boolean get() = true
|
||||
|
||||
public actual val supportsOctalLiteralInRegex: Boolean get() = false
|
||||
|
||||
Reference in New Issue
Block a user