From 7dfd69cdc5966ae454e35cd6e976686131bfda8d Mon Sep 17 00:00:00 2001 From: Mohammed Al Sahaf Date: Thu, 9 Apr 2020 00:31:51 +0300 Subject: chore: make the linter happier (#3245) * chore: make the linter happier * chore: remove reference to maligned linter in .golangci.yml --- caddytest/caddytest.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'caddytest') diff --git a/caddytest/caddytest.go b/caddytest/caddytest.go index ce70f77..c94ef6c 100644 --- a/caddytest/caddytest.go +++ b/caddytest/caddytest.go @@ -255,7 +255,7 @@ func AssertGetResponse(t *testing.T, requestURI string, statusCode int, expected if !strings.Contains(body, expectedBody) { t.Errorf("requesting \"%s\" expected response body \"%s\" but got \"%s\"", requestURI, expectedBody, body) } - return resp, string(body) + return resp, body } // AssertGetResponseBody request a URI and assert the status code matches -- cgit v1.2.3