aboutsummaryrefslogtreecommitdiff
path: root/src/internal/obscuretestdata/obscuretestdata.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/internal/obscuretestdata/obscuretestdata.go')
-rw-r--r--src/internal/obscuretestdata/obscuretestdata.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/internal/obscuretestdata/obscuretestdata.go b/src/internal/obscuretestdata/obscuretestdata.go
index 512f3759b4..06cd1df22c 100644
--- a/src/internal/obscuretestdata/obscuretestdata.go
+++ b/src/internal/obscuretestdata/obscuretestdata.go
@@ -47,5 +47,5 @@ func ReadFile(name string) ([]byte, error) {
return nil, err
}
defer f.Close()
- return ioutil.ReadAll(base64.NewDecoder(base64.StdEncoding, f))
+ return io.ReadAll(base64.NewDecoder(base64.StdEncoding, f))
}