mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
fixed import issue
This commit is contained in:
parent
9651389d23
commit
4261aea19d
2 changed files with 3 additions and 3 deletions
|
|
@ -633,7 +633,7 @@ func TestWebsocketHTTPOnSamePort_HTTPRequest(t *testing.T) {
|
||||||
go doHTTPRequest(httpResponses, httpReq, t)
|
go doHTTPRequest(httpResponses, httpReq, t)
|
||||||
httpResponse := <-httpResponses
|
httpResponse := <-httpResponses
|
||||||
|
|
||||||
assert.Equal(t,"gzip", httpResponse.Header.Get("Content-Encoding"))
|
assert.Equal(t, "gzip", httpResponse.Header.Get("Content-Encoding"))
|
||||||
}
|
}
|
||||||
|
|
||||||
func startHTTP(t *testing.T) {
|
func startHTTP(t *testing.T) {
|
||||||
|
|
|
||||||
|
|
@ -33,6 +33,6 @@ func TestNewWebsocketUpgradeHandler_websocket(t *testing.T) {
|
||||||
responses <- resp
|
responses <- resp
|
||||||
}(responses)
|
}(responses)
|
||||||
|
|
||||||
response := <- responses
|
response := <-responses
|
||||||
assert.Equal(t,"websocket", response.Header.Get("Upgrade"))
|
assert.Equal(t, "websocket", response.Header.Get("Upgrade"))
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue