From f1bcd6e27e9cbf541b9f6d76944bb491aede370a Mon Sep 17 00:00:00 2001 From: Shulhan Date: Sun, 10 Dec 2023 03:23:02 +0700 Subject: all: changes based on reports from linter revive Better to fix and follow the reported warnings rather than adding configuration file to add an exception. --- http_server_play_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'http_server_play_test.go') diff --git a/http_server_play_test.go b/http_server_play_test.go index df9f4f3..ed5bae6 100644 --- a/http_server_play_test.go +++ b/http_server_play_test.go @@ -66,7 +66,7 @@ func TestHttpServerPlaySshConfigChanges(t *testing.T) { var httpd *httpServer - httpd, err = newHttpServer(aww, ``) + httpd, err = newHTTPServer(aww, ``) if err != nil { t.Fatal(err) } @@ -92,7 +92,7 @@ func testHttpExecute(t *testing.T, httpd *httpServer, tdata *test.Data, tag stri reqBody.Write(tdata.Input[tag]) - var httpReq = httptest.NewRequest(http.MethodPost, pathAwwanApiExecute, &reqBody) + var httpReq = httptest.NewRequest(http.MethodPost, pathAwwanAPIExecute, &reqBody) var httpWriter = httptest.NewRecorder() httpd.ServeHTTP(httpWriter, httpReq) -- cgit v1.3