summaryrefslogtreecommitdiff
path: root/traceable/traceable_test.go
diff options
context:
space:
mode:
authorWill Hawkins <[email protected]>2023-02-22 19:17:09 -0800
committerGitHub <[email protected]>2023-02-22 19:17:09 -0800
commite59ddfd3672750351f80fb35c804827b2f726642 (patch)
treeff8a9707caf844be368106ee8000ce7c6e0b57db /traceable/traceable_test.go
parentad8b4dac1ad3500904747a090de2d99f2f774156 (diff)
parentbfa2e2b0fa93b6059fba0581b52d6d60a53b5a4a (diff)
Merge pull request #44 from network-quality/connect_to_secure_merged
A grab bag of changes
Diffstat (limited to 'traceable/traceable_test.go')
-rw-r--r--traceable/traceable_test.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/traceable/traceable_test.go b/traceable/traceable_test.go
index 1ba6f51..e9d5a74 100644
--- a/traceable/traceable_test.go
+++ b/traceable/traceable_test.go
@@ -18,7 +18,6 @@ import (
"context"
"crypto/tls"
"io"
- "io/ioutil"
"net/http"
"net/http/httptrace"
"sync"
@@ -141,7 +140,7 @@ func TestDuplicativeTraceables(t *testing.T) {
if err != nil {
return
}
- _, _ = io.Copy(ioutil.Discard, get.Body)
+ _, _ = io.Copy(io.Discard, get.Body)
get.Body.Close()
}()
go func() {
@@ -150,7 +149,7 @@ func TestDuplicativeTraceables(t *testing.T) {
if err != nil {
return
}
- _, _ = io.Copy(ioutil.Discard, get.Body)
+ _, _ = io.Copy(io.Discard, get.Body)
get.Body.Close()
}()