From d41d3ca227cdfff3d03c5d416cb7a234653c92a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Sowa?= Date: Mon, 14 Oct 2024 20:29:52 +0200 Subject: [PATCH] Fixing tests --- .../server/directives/DebuggingDirectivesSpec.scala | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/core-tests/src/test/scala/pl/iterators/stir/server/directives/DebuggingDirectivesSpec.scala b/core-tests/src/test/scala/pl/iterators/stir/server/directives/DebuggingDirectivesSpec.scala index 918f13f..5fcbedf 100644 --- a/core-tests/src/test/scala/pl/iterators/stir/server/directives/DebuggingDirectivesSpec.scala +++ b/core-tests/src/test/scala/pl/iterators/stir/server/directives/DebuggingDirectivesSpec.scala @@ -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" } } } @@ -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" } } } @@ -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 {