- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestTransportDialContext (0.23 sec)
-
src/net/http/transport_test.go
mu.Lock() if !gotReq { t.Error("didn't get request") } if !didDial { t.Error("didn't use dial hook") } } func TestTransportDialContext(t *testing.T) { run(t, testTransportDialContext) } func testTransportDialContext(t *testing.T, mode testMode) { ctxKey := "some-key" ctxValue := "some-value" var ( mu sync.Mutex // guards following gotReq bool
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 06 21:59:21 UTC 2024 - 192.6K bytes - Viewed (0)