From 1b0b149c347c209cdb5fa88f6a08baf1199703cf Mon Sep 17 00:00:00 2001 From: Vamshi Maskuri <117595548+varshith257@users.noreply.github.com> Date: Sat, 31 Aug 2024 16:09:59 +0530 Subject: [PATCH] Update HttpCodecSpec.scala --- zio-http/jvm/src/test/scala/zio/http/codec/HttpCodecSpec.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zio-http/jvm/src/test/scala/zio/http/codec/HttpCodecSpec.scala b/zio-http/jvm/src/test/scala/zio/http/codec/HttpCodecSpec.scala index f4fb155851..f59d36e884 100644 --- a/zio-http/jvm/src/test/scala/zio/http/codec/HttpCodecSpec.scala +++ b/zio-http/jvm/src/test/scala/zio/http/codec/HttpCodecSpec.scala @@ -218,7 +218,7 @@ object HttpCodecSpec extends ZIOHttpSpec { val decodeAttempt = codec.decodeRequest(request).either - assert(decodeAttempt)(isLeft(isSubtype[IllegalArgumentException](anything))) + assertZIO(decodeAttempt)(isLeft(isSubtype[IllegalArgumentException](anything))) }, test("should merge two codecs correctly") { val schema = Schema[TestData]