Skip to content

Commit

Permalink
Update BodySpec.scala
Browse files Browse the repository at this point in the history
  • Loading branch information
asr2003 authored Sep 10, 2024
1 parent 5aa4c8a commit 3d22687
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zio-http/jvm/src/test/scala/zio/http/BodySpec.scala
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ object BodySpec extends ZIOHttpSpec {
boundaryOpt = body.contentType.flatMap(_.boundary)
_ <- ZIO.logInfo(s"Generated boundary: ${boundaryOpt.getOrElse("No boundary found")}")
} yield assertTrue(boundaryOpt.isDefined) &&
assertTrue(boundaryOpt.get.matches("^[a-zA-Z0-9'()+_,-./:=?]+$"))
assertTrue(boundaryOpt.get.toString.matches("^[a-zA-Z0-9'()+_,-./:=?]+$"))
},
),
) @@ timeout(10 seconds)
Expand Down

0 comments on commit 3d22687

Please sign in to comment.