summaryrefslogtreecommitdiff
path: root/src/pkg/encoding/ascii85/ascii85_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/encoding/ascii85/ascii85_test.go')
-rw-r--r--src/pkg/encoding/ascii85/ascii85_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pkg/encoding/ascii85/ascii85_test.go b/src/pkg/encoding/ascii85/ascii85_test.go
index 40bb1a25e..294f63825 100644
--- a/src/pkg/encoding/ascii85/ascii85_test.go
+++ b/src/pkg/encoding/ascii85/ascii85_test.go
@@ -6,7 +6,7 @@ package ascii85
import (
"bytes";
- "io";
+ "io/ioutil";
"os";
"reflect";
"strings";
@@ -111,7 +111,7 @@ func TestDecode(t *testing.T) {
func TestDecoder(t *testing.T) {
for _, p := range pairs {
decoder := NewDecoder(bytes.NewBufferString(p.encoded));
- dbuf, err := io.ReadAll(decoder);
+ dbuf, err := ioutil.ReadAll(decoder);
if err != nil {
t.Fatal("Read failed", err)
}
@@ -176,7 +176,7 @@ func TestBig(t *testing.T) {
if err != nil {
t.Fatalf("Encoder.Close() = %v want nil", err)
}
- decoded, err := io.ReadAll(NewDecoder(encoded));
+ decoded, err := ioutil.ReadAll(NewDecoder(encoded));
if err != nil {
t.Fatalf("io.ReadAll(NewDecoder(...)): %v", err)
}