fixup tests

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
Василий Толстов 2021-04-18 15:56:25 +03:00
parent cd63cc457a
commit c526fdb749

View File

@ -139,6 +139,7 @@ func TestHTTPClient(t *testing.T) {
} }
// write response // write response
w.Header().Add("Content-Type", "application/json")
w.Write(b) w.Write(b)
}) })
go http.Serve(l, mux) go http.Serve(l, mux)