From 34c1f556d998477c8194b08cd03ea82631b5ddf3 Mon Sep 17 00:00:00 2001 From: John Zhang Date: Sat, 9 Apr 2022 15:54:23 +1000 Subject: [PATCH] fix duplicate test --- .../common/test/io/ktor/client/tests/plugins/CookiesTest.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ktor-client/ktor-client-tests/common/test/io/ktor/client/tests/plugins/CookiesTest.kt b/ktor-client/ktor-client-tests/common/test/io/ktor/client/tests/plugins/CookiesTest.kt index 6e7b1f0ddbd..152886f4326 100644 --- a/ktor-client/ktor-client-tests/common/test/io/ktor/client/tests/plugins/CookiesTest.kt +++ b/ktor-client/ktor-client-tests/common/test/io/ktor/client/tests/plugins/CookiesTest.kt @@ -192,7 +192,7 @@ class CookiesTest : ClientLoader() { test { client -> client.prepareGet("$TEST_HOST/encoded").execute { httpResponse -> val response = httpResponse.bodyAsText() - val cookieStrings = response.split(";").filter { it.isNotBlank() } + val cookieStrings = response.split("; ").filter { it.isNotBlank() } assertEquals(4, cookieStrings.size) assertEquals("uri=first%2C+cookie", cookieStrings[0]) assertEquals("raw=first%2C+cookie", cookieStrings[1])