Fix long lines (#2)

Using [golines](https://github.com/segmentio/golines):
`golines -w .`
This commit is contained in:
pando85
2021-11-18 19:26:53 +01:00
committed by GitHub
parent 126ae833b5
commit 1aa59f1b0b
3 changed files with 29 additions and 5 deletions

View File

@ -9,7 +9,18 @@ import (
)
func TestIP4RootFromCli(t *testing.T) {
uas := []string{"", "curl", "wget", "libwww-perl", "python", "ansible-httpget", "HTTPie", "WindowsPowerShell", "http_request", "Go-http-client"}
uas := []string{
"",
"curl",
"wget",
"libwww-perl",
"python",
"ansible-httpget",
"HTTPie",
"WindowsPowerShell",
"http_request",
"Go-http-client",
}
req, _ := http.NewRequest("GET", "/", nil)
req.Header.Set("X-Real-IP", testIP.ipv4)