fixed import issue

This commit is contained in:
renaynay 2020-03-30 17:27:30 +02:00
parent 9651389d23
commit 4261aea19d
No known key found for this signature in database
GPG key ID: 731E44FAAFCD0274
2 changed files with 3 additions and 3 deletions

View file

@ -633,7 +633,7 @@ func TestWebsocketHTTPOnSamePort_HTTPRequest(t *testing.T) {
go doHTTPRequest(httpResponses, httpReq, t)
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) {

View file

@ -33,6 +33,6 @@ func TestNewWebsocketUpgradeHandler_websocket(t *testing.T) {
responses <- resp
}(responses)
response := <- responses
assert.Equal(t,"websocket", response.Header.Get("Upgrade"))
response := <-responses
assert.Equal(t, "websocket", response.Header.Get("Upgrade"))
}