aboutsummaryrefslogtreecommitdiff
path: root/src/debug/gosym/pclntab_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/debug/gosym/pclntab_test.go')
-rw-r--r--src/debug/gosym/pclntab_test.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/debug/gosym/pclntab_test.go b/src/debug/gosym/pclntab_test.go
index 33772c7813..f93a5bf5e5 100644
--- a/src/debug/gosym/pclntab_test.go
+++ b/src/debug/gosym/pclntab_test.go
@@ -9,6 +9,7 @@ import (
"compress/gzip"
"debug/elf"
"internal/testenv"
+ "io"
"io/ioutil"
"os"
"os/exec"
@@ -287,7 +288,7 @@ func Test115PclnParsing(t *testing.T) {
t.Fatal(err)
}
var dat []byte
- dat, err = ioutil.ReadAll(gzReader)
+ dat, err = io.ReadAll(gzReader)
if err != nil {
t.Fatal(err)
}