diff options
Diffstat (limited to 'internal/backup/storage_service_sink_test.go')
-rw-r--r-- | internal/backup/storage_service_sink_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/backup/storage_service_sink_test.go b/internal/backup/storage_service_sink_test.go index 1e7f8a35d..5b740df46 100644 --- a/internal/backup/storage_service_sink_test.go +++ b/internal/backup/storage_service_sink_test.go @@ -3,7 +3,7 @@ package backup import ( "bytes" "fmt" - "io/ioutil" + "io" "testing" "github.com/stretchr/testify/require" @@ -30,7 +30,7 @@ func TestStorageServiceSink(t *testing.T) { require.NoError(t, err) defer func() { require.NoError(t, reader.Close()) }() - retrieved, err := ioutil.ReadAll(reader) + retrieved, err := io.ReadAll(reader) require.NoError(t, err) require.Equal(t, data, retrieved) }) |