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 6a65824 commit 5aa4c8a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions zio-http/jvm/src/test/scala/zio/http/BodySpec.scala
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,7 @@ object BodySpec extends ZIOHttpSpec {
form <- ZIO.succeed(Form(FormField.simpleField("name", "test-name")))
body <- Body.fromMultipartFormUUID(form)
boundaryOpt = body.contentType.flatMap(_.boundary)
_ <- zio.logInfo(s"Generated boundary: ${boundaryOpt.getOrElse("No boundary found")}")

_ <- ZIO.logInfo(s"Generated boundary: ${boundaryOpt.getOrElse("No boundary found")}")
} yield assertTrue(boundaryOpt.isDefined) &&
assertTrue(boundaryOpt.get.matches("^[a-zA-Z0-9'()+_,-./:=?]+$"))
},
Expand Down

0 comments on commit 5aa4c8a

Please sign in to comment.