Skip to content

Commit

Permalink
fsck, missed one lint.
Browse files Browse the repository at this point in the history
Signed-off-by: Ville Aikas <[email protected]>
  • Loading branch information
vaikas committed Sep 28, 2022
1 parent 6ad156b commit fab00be
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions client/file_store_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ package client

import (
"bytes"
"io"
"io/fs"
"io/ioutil"
"os"
"path/filepath"
"strings"
Expand Down Expand Up @@ -85,7 +85,7 @@ func TestBasicOps(t *testing.T) {
if size != int64(len(v)) {
t.Errorf("unexpected size returned for GetTarget: %s want %d got %d", k, len(v), size)
}
got, err := ioutil.ReadAll(rc)
got, err := io.ReadAll(rc)
if err != nil {
t.Errorf("failed to ReadAll returned ReacCloser %s: %v", k, err)
}
Expand All @@ -104,7 +104,7 @@ func TestBasicOps(t *testing.T) {
if size != int64(len(v)) {
t.Errorf("unexpected size returned for GetMeta: %s want %d got %d", k, len(v), size)
}
got, err := ioutil.ReadAll(rc)
got, err := io.ReadAll(rc)
if err != nil {
t.Errorf("failed to ReadAll returned ReacCloser %s: %v", k, err)
}
Expand Down

0 comments on commit fab00be

Please sign in to comment.