From 9ad61249b3a5003aa61e3a144f415c83da37968e Mon Sep 17 00:00:00 2001 From: pancho horrillo Date: Tue, 8 Oct 2019 15:33:32 +0200 Subject: [PATCH] Fix linter warning MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Roberto Abdelkader Martínez Pérez Co-authored-by: Héctor Hurtado --- internal/server/control/control_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/server/control/control_test.go b/internal/server/control/control_test.go index 31bca96..d2c57ce 100644 --- a/internal/server/control/control_test.go +++ b/internal/server/control/control_test.go @@ -35,7 +35,7 @@ func TestAppendNewRouteFromRequest(t *testing.T) { // "command": "echo Hello World | kapow set /response/body" //}` respJsonRoute := model.Route{} - json.Unmarshal(resp.Body.Bytes(), &respJsonRoute) + _ = json.Unmarshal(resp.Body.Bytes(), &respJsonRoute) if respJsonRoute.Method != "GET" { t.Errorf("Method missmatch. Expected: %s, got: %s", "GET", respJsonRoute.Method) }