From f2ee5956e7901d3fbe8f20d55e1620ab349a4836 Mon Sep 17 00:00:00 2001 From: Marco Fracassi Date: Thu, 16 Apr 2020 09:28:05 +0200 Subject: [PATCH] Fix test name --- src/test/kotlin/daikon/RequestTest.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/kotlin/daikon/RequestTest.kt b/src/test/kotlin/daikon/RequestTest.kt index e5c3c99..20cc02b 100644 --- a/src/test/kotlin/daikon/RequestTest.kt +++ b/src/test/kotlin/daikon/RequestTest.kt @@ -8,7 +8,7 @@ import topinambur.http class RequestTest { @Test - fun `query string parameter`() { + fun `has parameter`() { HttpServer() .get("/") { req, _ -> assertThat(req.hasParam("name")).isTrue() @@ -20,7 +20,7 @@ class RequestTest { } @Test - fun `has parameter`() { + fun `query string parameter`() { HttpServer() .get("/") { req, res -> res.write("hello ${req.param("name")}") } .start().use {