Skip to content

Commit 6b06c63

Browse files
authored
Fix JVM compilation issue (#262)
1 parent 167ed77 commit 6b06c63

File tree

2 files changed

+6
-24
lines changed

2 files changed

+6
-24
lines changed

rsocket-core/src/commonTest/kotlin/io/rsocket/kotlin/frame/io/MimeTypeTest.kt

+6
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,12 @@ import kotlin.test.*
2222

2323
class MimeTypeTest : TestWithLeakCheck {
2424

25+
private val asciiChars = '!'..'~'
26+
27+
private fun randomAsciiString(length: Int): String {
28+
return (1..length).joinToString(separator = "") { asciiChars.random().toString() }
29+
}
30+
2531
@Test
2632
fun customMimeTypeSerialization() {
2733
testCustomMimeType("message/x.foo")

rsocket-core/src/commonTest/kotlin/io/rsocket/kotlin/frame/io/Util.kt

-24
This file was deleted.

0 commit comments

Comments
 (0)