Skip to content

Commit

Permalink
Fixing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
luksow committed Oct 14, 2024
1 parent 17bfb01 commit d41d3ca
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class DebuggingDirectivesSpec extends RoutingSpec {
resetDebugMsg()
Get("/hello") ~> route ~> check {
response.status shouldEqual Status.Ok
normalizedDebugMsg() shouldEqual "HTTP/1.1 GET /hello Headers() body=\"\"\n"
normalizedDebugMsg() shouldEqual "HTTP/1.1 GET /hello Headers()\n"
}
}
}
Expand All @@ -54,7 +54,7 @@ class DebuggingDirectivesSpec extends RoutingSpec {
resetDebugMsg()
Get("/hello") ~> route ~> check {
response.status shouldEqual Status.Ok
normalizedDebugMsg() shouldEqual "HTTP/1.1 200 OK Headers() body=\"\"\n"
normalizedDebugMsg() shouldEqual "HTTP/1.1 200 OK Headers()\n"
}
}
}
Expand All @@ -69,9 +69,9 @@ class DebuggingDirectivesSpec extends RoutingSpec {
Get("/hello") ~> route ~> check {
response.status shouldEqual Status.Ok
normalizedDebugMsg() shouldEqual
"""|HTTP/1.1 GET /hello Headers() body=""
|HTTP/1.1 200 OK Headers() body=""
|""".stripMarginWithNewline("\n")
"""|HTTP/1.1 GET /hello Headers()
|HTTP/1.1 200 OK Headers()
|""".stripMarginWithNewline("\n")
}
}
// "be able to log only rejections" in {
Expand Down

0 comments on commit d41d3ca

Please sign in to comment.