glide up
This commit is contained in:
1
vendor/golang.org/x/net/context/ctxhttp/ctxhttp_17_test.go
generated
vendored
1
vendor/golang.org/x/net/context/ctxhttp/ctxhttp_17_test.go
generated
vendored
@@ -19,7 +19,6 @@ func TestGo17Context(t *testing.T) {
|
||||
ts := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
|
||||
io.WriteString(w, "ok")
|
||||
}))
|
||||
defer ts.Close()
|
||||
ctx := context.Background()
|
||||
resp, err := Get(ctx, http.DefaultClient, ts.URL)
|
||||
if resp == nil || err != nil {
|
||||
|
Reference in New Issue
Block a user