(t *testing.T)
| 119 | } |
| 120 | |
| 121 | func TestNewReq(t *testing.T) { |
| 122 | log.Println("Ghttp test new") |
| 123 | h := Ghttp.New().Get("https://httpbin.org/get"). |
| 124 | DontKeepAlive(). |
| 125 | SetProxy("http://127.0.0.1:1234"). |
| 126 | DontRedirect(). |
| 127 | Execute() |
| 128 | // Text() |
| 129 | log.Println("err: ", h.Error()) |
| 130 | |
| 131 | } |
nothing calls this directly
no test coverage detected