Avoid using JVM only APIs in IC tests to reuse with JS
This commit is contained in:
Vendored
+1
-5
@@ -1,6 +1,2 @@
|
||||
import java.util.Random
|
||||
|
||||
fun getRandomEnumEntry() =
|
||||
with (Enum.values()) {
|
||||
get(Random().nextInt(size))
|
||||
}
|
||||
Enum.values()[1]
|
||||
Reference in New Issue
Block a user