Browse Source

fix test compilation

pull/4089/head
chrislu 2 years ago
parent
commit
ab975f6a6d
  1. 2
      weed/filer/reader_at_test.go

2
weed/filer/reader_at_test.go

@ -86,7 +86,7 @@ func testReadAt(t *testing.T, readerAt *ChunkReadAt, offset int64, size int, exp
if data == nil {
data = make([]byte, size)
}
n, err := readerAt.doReadAt(data, offset)
n, _, err := readerAt.doReadAt(data, offset)
if expectedN != n {
t.Errorf("unexpected read size: %d, expect: %d", n, expectedN)

Loading…
Cancel
Save