From aee32d5f42560ad0ff5d47034da699b3e608d2b4 Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Sun, 16 Jan 2022 13:58:09 +0000 Subject: Tidying --- server/test/src/handlers/GeminiHandlerSpec.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'server') diff --git a/server/test/src/handlers/GeminiHandlerSpec.scala b/server/test/src/handlers/GeminiHandlerSpec.scala index 6b177f8..f3545a0 100644 --- a/server/test/src/handlers/GeminiHandlerSpec.scala +++ b/server/test/src/handlers/GeminiHandlerSpec.scala @@ -9,8 +9,6 @@ import net.usebox.gemini.server._ class GeminiHandlerSpec extends AnyFlatSpec with Matchers { - behavior of "handle" - val handler = new GeminiHandler(TestData.conf) val handlerUserDir = new GeminiHandler(TestData.confUserDir) val handlerCgi = new GeminiHandler(TestData.cgiConf) @@ -22,6 +20,8 @@ class GeminiHandlerSpec extends AnyFlatSpec with Matchers { ): Response = geminiHandler.handle(req, URI.create(req), remoteAddr) + behavior of "handle" + it should "handle host case insensitive" in { handleWith(handler, "gemini://LOCALHOST/") should be(a[Success]) } -- cgit v1.2.3