From d2f1a124bc74e19225a6326f39aa8f541ab21d63 Mon Sep 17 00:00:00 2001 From: Pavel Date: Fri, 13 Dec 2019 16:09:09 +0300 Subject: [PATCH] fixed possible bug in test --- core/http_client_builder_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/http_client_builder_test.go b/core/http_client_builder_test.go index 292c1d9..753cfea 100644 --- a/core/http_client_builder_test.go +++ b/core/http_client_builder_test.go @@ -241,8 +241,7 @@ uf/TQPpjrGW5nxOf94qn6FzV2WSype9BcM5MD7z7rk202Fs7Zqc= srv := &http.Server{Addr: mockServerAddr, Handler: mux} mux.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) { w.WriteHeader(http.StatusCreated) - _, err := io.WriteString(w, "ok") - require.NoError(t.T(), err, "cannot response properly") + _, _ = io.WriteString(w, "ok") }) testSkipChan := make(chan error, 1)