Skip to content

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
  • Loading branch information
nikolaydubina committed Feb 22, 2024
1 parent db571cd commit 3370197
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions aws_s3_reader_seeker_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ func TestS3ReadSeeker(t *testing.T) {
1<<10*100,
awss3reader.FixedChunkSizePolicy{Size: 1 << 10 * 100}, // 100 KB
)
defer r.Close()

got, err := io.ReadAll(r)
if err != nil {
Expand Down Expand Up @@ -79,6 +80,7 @@ func TestS3ReadSeeker_Seek_Current(t *testing.T) {
1<<10*100,
awss3reader.FixedChunkSizePolicy{Size: 1 << 10 * 100}, // 100 KB
)
defer r.Close()

var offset int64 = 1 << 10 * 100
r.Seek(offset+100, io.SeekCurrent)
Expand Down

0 comments on commit 3370197

Please sign in to comment.