aboutsummaryrefslogtreecommitdiff
path: root/src/archive/zip/zip_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/archive/zip/zip_test.go')
-rw-r--r--src/archive/zip/zip_test.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/archive/zip/zip_test.go b/src/archive/zip/zip_test.go
index b3a7caac7f..ead9cd3aab 100644
--- a/src/archive/zip/zip_test.go
+++ b/src/archive/zip/zip_test.go
@@ -13,7 +13,6 @@ import (
"hash"
"internal/testenv"
"io"
- "io/ioutil"
"runtime"
"sort"
"strings"
@@ -620,7 +619,7 @@ func testZip64(t testing.TB, size int64) *rleBuffer {
t.Fatal("read:", err)
}
}
- gotEnd, err := ioutil.ReadAll(rc)
+ gotEnd, err := io.ReadAll(rc)
if err != nil {
t.Fatal("read end:", err)
}