fixup tests
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
parent
cd63cc457a
commit
c526fdb749
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user