Skip to content

Commit 9650f18

Browse files
committed
Fix test for Netty update
1 parent 399b429 commit 9650f18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ktor-server/ktor-server-test-suites/jvm/src/io/ktor/server/testing/suites/SustainabilityTestSuite.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -865,7 +865,7 @@ abstract class SustainabilityTestSuite<TEngine : ApplicationEngine, TConfigurati
865865
val response = inputStream.bufferedReader()
866866
val status = response.readLine()
867867

868-
assertTrue(status.startsWith("HTTP/1.1 400"))
868+
assertContains(status, "400")
869869
outputStream.close()
870870
}
871871
}

0 commit comments

Comments
 (0)