Fix linter error

This commit is contained in:
Ingo Oppermann 2024-09-05 14:10:16 +02:00
parent 0327edcaf3
commit 385628382c
No known key found for this signature in database
GPG Key ID: 2AB32426E9DD229E

View File

@ -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)
}