Skip to content

Commit

Permalink
Update HttpCodecSpec.scala
Browse files Browse the repository at this point in the history
  • Loading branch information
varshith257 authored Aug 31, 2024
1 parent 4fec8ae commit 1b0b149
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 1b0b149

Please sign in to comment.