From 32a8e577553354e935c07cac31d71e89384b3068 Mon Sep 17 00:00:00 2001 From: Osip Fatkullin Date: Wed, 30 Oct 2024 14:33:03 +0100 Subject: [PATCH] KTOR-7586 Fix MimesTest doesn't compile on JS target --- ktor-http/common/test/io/ktor/tests/http/MimesTest.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ktor-http/common/test/io/ktor/tests/http/MimesTest.kt b/ktor-http/common/test/io/ktor/tests/http/MimesTest.kt index f70f40bf01b..af9c9f4a989 100644 --- a/ktor-http/common/test/io/ktor/tests/http/MimesTest.kt +++ b/ktor-http/common/test/io/ktor/tests/http/MimesTest.kt @@ -10,7 +10,7 @@ import kotlin.test.* class MimesTest { @Test - fun `test mime with multiple extensions`() { + fun testMimeWithMultipleExtensions() { val textPlain = "text/plain".toContentType() val textMime = "text" to textPlain val txtMime = "txt" to textPlain @@ -19,14 +19,14 @@ class MimesTest { } @Test - fun `test mime with single extension`() { + fun testMimeWithSingleExtension() { val acad = "application/acad".toContentType() val dwgMime = "dwg" to acad assertTrue(mimes.contains(dwgMime)) } @Test - fun `test mimes size matches preallocated list size`() { + fun testMimesSizeMatchesPreallocatedListSize() { assertEquals(INITIAL_MIMES_LIST_SIZE, mimes.size) } }