Fix linter error
This commit is contained in:
parent
0327edcaf3
commit
385628382c
@ -877,7 +877,7 @@ func testAppend(t *testing.T, fs Filesystem) {
|
||||
file := fs.Open("/foobar")
|
||||
require.NotNil(t, file)
|
||||
|
||||
data, err := io.ReadAll(file)
|
||||
data, _ := io.ReadAll(file)
|
||||
require.Equal(t, []byte("part1part2"), data)
|
||||
}
|
||||
|
||||
@ -888,6 +888,6 @@ func testAppendCreate(t *testing.T, fs Filesystem) {
|
||||
file := fs.Open("/foobar")
|
||||
require.NotNil(t, file)
|
||||
|
||||
data, err := io.ReadAll(file)
|
||||
data, _ := io.ReadAll(file)
|
||||
require.Equal(t, []byte("part1"), data)
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user