From d4cf693ae37be54c581cd7591e3a84c382ca6310 Mon Sep 17 00:00:00 2001 From: Dean Wette Date: Fri, 10 Nov 2023 11:23:53 -0600 Subject: [PATCH] Update http-server-jetty/src/test/groovy/io/micronaut/servlet/jetty/JettyErrorSpec.groovy Co-authored-by: Sergio del Amo --- .../groovy/io/micronaut/servlet/jetty/JettyErrorSpec.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/http-server-jetty/src/test/groovy/io/micronaut/servlet/jetty/JettyErrorSpec.groovy b/http-server-jetty/src/test/groovy/io/micronaut/servlet/jetty/JettyErrorSpec.groovy index 0eb6cc2ae..b3e8fc584 100644 --- a/http-server-jetty/src/test/groovy/io/micronaut/servlet/jetty/JettyErrorSpec.groovy +++ b/http-server-jetty/src/test/groovy/io/micronaut/servlet/jetty/JettyErrorSpec.groovy @@ -52,7 +52,7 @@ class JettyErrorSpec extends Specification { client.toBlocking().exchange("/errors/stream-delayed", Integer[].class) then: - HttpClientResponseException ex = thrown(HttpClientResponseException) + HttpClientResponseException ex = thrown() ex.status == HttpStatus.OK ex.message.contains("Unexpected end-of-input") }