diff options
author | Rob Pike <r@golang.org> | 2009-12-02 22:02:14 -0800 |
---|---|---|
committer | Rob Pike <r@golang.org> | 2009-12-02 22:02:14 -0800 |
commit | 9599e35e75f3bf5223edd9b0a0854536c23cdef2 (patch) | |
tree | c8ce48aeddfe892be3754b0aa74217b4eb6d1e57 /src/pkg/encoding/base64/base64_test.go | |
parent | 0247d93d819700b0bfc6814dc7b1c2afec4648a0 (diff) | |
download | golang-9599e35e75f3bf5223edd9b0a0854536c23cdef2.tar.gz |
move ReadFile, WriteFile, and ReadDir into a separate io/ioutil package.
this breaks the dependency of package io on package bytes.
R=rsc
CC=golang-dev
http://codereview.appspot.com/163085
Diffstat (limited to 'src/pkg/encoding/base64/base64_test.go')
-rw-r--r-- | src/pkg/encoding/base64/base64_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pkg/encoding/base64/base64_test.go b/src/pkg/encoding/base64/base64_test.go index 51e40ed7e..3153a7347 100644 --- a/src/pkg/encoding/base64/base64_test.go +++ b/src/pkg/encoding/base64/base64_test.go @@ -6,7 +6,7 @@ package base64 import ( "bytes"; - "io"; + "io/ioutil"; "os"; "reflect"; "strings"; @@ -184,9 +184,9 @@ func TestBig(t *testing.T) { if err != nil { t.Fatalf("Encoder.Close() = %v want nil", err) } - decoded, err := io.ReadAll(NewDecoder(StdEncoding, encoded)); + decoded, err := ioutil.ReadAll(NewDecoder(StdEncoding, encoded)); if err != nil { - t.Fatalf("io.ReadAll(NewDecoder(...)): %v", err) + t.Fatalf("ioutil.ReadAll(NewDecoder(...)): %v", err) } if !bytes.Equal(raw, decoded) { |