Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
varshith257 committed Sep 25, 2024
1 parent 7b7a267 commit c940544
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion zio-http/jvm/src/test/scala/zio/http/ConformanceSpec.scala
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,9 @@ object ConformanceSpec extends ZIOHttpSpec {
for {
response <- app.runZIO(Request.get("/test"))
} yield {
val xFrameOptionsHeaders = response.headers.toList.filter(_.name == Header.XFrameOptions.name)
val xFrameOptionsHeaders = response.headers.toList.collect {
case h if h.headerName == Header.XFrameOptions.name => h
}
assertTrue(xFrameOptionsHeaders.length == 1)
}
},
Expand Down

0 comments on commit c940544

Please sign in to comment.