diff options
Diffstat (limited to 'src/pkg/archive/tar')
-rw-r--r-- | src/pkg/archive/tar/writer_test.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pkg/archive/tar/writer_test.go b/src/pkg/archive/tar/writer_test.go index 4a6c486f8..0df0144b1 100644 --- a/src/pkg/archive/tar/writer_test.go +++ b/src/pkg/archive/tar/writer_test.go @@ -8,6 +8,7 @@ import ( "bytes"; "fmt"; "io"; + "io/ioutil"; "testing"; "testing/iotest"; ) @@ -121,7 +122,7 @@ func bytediff(a []byte, b []byte) string { func TestWriter(t *testing.T) { testLoop: for i, test := range writerTests { - expected, err := io.ReadFile(test.file); + expected, err := ioutil.ReadFile(test.file); if err != nil { t.Errorf("test %d: Unexpected error: %v", i, err); continue; |