Test new Double/Float constants

Split test expectations based on actual support of enforced Float range

KT-29182, KT-13887
This commit is contained in:
Ilya Gorbunov
2020-02-25 21:29:56 +03:00
parent 3e6ab65ccc
commit d88d2cb058
5 changed files with 55 additions and 10 deletions
+4 -1
View File
@@ -20,4 +20,7 @@ internal actual inline fun testOnNonJvm6And7(f: () -> Unit) {
public actual fun testOnJvm(action: () -> Unit) { }
public actual fun testOnJs(action: () -> Unit) = action()
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