summaryrefslogtreecommitdiff
path: root/traceable/traceable_test.go
diff options
context:
space:
mode:
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()
}()