Fixed some lint and code convention violations
This commit is contained in:
1 parent
af7880ceac
commit
378ac59f41
6 files changed
+33
-11
No files matched your search
@@ -172,7 +172,9 @@ func TestAccessLogHijack(t *testing.T) {
|
||||
readWriter.WriteString("HTTP/1.1 204 No Content\r\n\r\n")
|
||||
readWriter.Flush()
|
||||
})
|
||||
server := httptest.NewServer(AccessLog(log.New(&buffer, "", 0), true, handler))
|
||||
server := httptest.NewServer(
|
||||
AccessLog(log.New(&buffer, "", 0), true, handler),
|
||||
)
|
||||
defer server.Close()
|
||||
|
||||
res, err := http.Get(server.URL + "/hijacked")
|
||||
|
||||
Reference in new issue
Block a user