We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 167ed77 commit 6b06c63Copy full SHA for 6b06c63
rsocket-core/src/commonTest/kotlin/io/rsocket/kotlin/frame/io/MimeTypeTest.kt
@@ -22,6 +22,12 @@ import kotlin.test.*
22
23
class MimeTypeTest : TestWithLeakCheck {
24
25
+ private val asciiChars = '!'..'~'
26
+
27
+ private fun randomAsciiString(length: Int): String {
28
+ return (1..length).joinToString(separator = "") { asciiChars.random().toString() }
29
+ }
30
31
@Test
32
fun customMimeTypeSerialization() {
33
testCustomMimeType("message/x.foo")
rsocket-core/src/commonTest/kotlin/io/rsocket/kotlin/frame/io/Util.kt
0 commit comments