Refactor helper function to run/not run block of common code on specific platform

Use it in StringBuilder tests
This commit is contained in:
Ilya Gorbunov
2023-04-22 06:41:51 +02:00
committed by Space Team
parent 454e963aa7
commit ace2279631
7 changed files with 32 additions and 19 deletions
@@ -7,9 +7,6 @@ package test
public expect fun assertTypeEquals(expected: Any?, actual: Any?)
public expect fun testOnJvm(action: () -> Unit)
public expect fun testOnJs(action: () -> Unit)
public expect val isFloat32RangeEnforced: Boolean
public expect val supportsNamedCapturingGroup: Boolean