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 9b8c956 commit 7194e76
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions zio-http/jvm/src/test/scala/zio/http/ConformanceSpec.scala
Original file line number Diff line number Diff line change
Expand Up @@ -214,11 +214,11 @@ object ConformanceSpec extends ZIOHttpSpec {
)
},
test("should include Location header in 300 MULTIPLE CHOICES response(code_300_location)") {
val validUrl = URL.fromString("/People.html#tim").toOption.getOrElse(URL.root)
val validPath = Path("/People.html#tim")

val validResponse = Response
.status(Status.MultipleChoices)
.addHeader(Header.Location(validUrl))
.addHeader(Header.Location(validPath))

val invalidResponse = Response
.status(Status.MultipleChoices)
Expand Down

0 comments on commit 7194e76

Please sign in to comment.