Skip to content

Commit a65ff10

Browse files
authored
KTOR-7586 Fix MimesTest doesn't compile on JS target (#4438)
1 parent 83e9537 commit a65ff10

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ktor-http/common/test/io/ktor/tests/http/MimesTest.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import kotlin.test.*
1010
class MimesTest {
1111

1212
@Test
13-
fun `test mime with multiple extensions`() {
13+
fun testMimeWithMultipleExtensions() {
1414
val textPlain = "text/plain".toContentType()
1515
val textMime = "text" to textPlain
1616
val txtMime = "txt" to textPlain
@@ -19,14 +19,14 @@ class MimesTest {
1919
}
2020

2121
@Test
22-
fun `test mime with single extension`() {
22+
fun testMimeWithSingleExtension() {
2323
val acad = "application/acad".toContentType()
2424
val dwgMime = "dwg" to acad
2525
assertTrue(mimes.contains(dwgMime))
2626
}
2727

2828
@Test
29-
fun `test mimes size matches preallocated list size`() {
29+
fun testMimesSizeMatchesPreallocatedListSize() {
3030
assertEquals(INITIAL_MIMES_LIST_SIZE, mimes.size)
3131
}
3232
}

0 commit comments

Comments
 (0)