Enable static checks
Signed-off-by: Derek McGowan <derek@mcgstyle.net>
This commit is contained in:
parent
32e2260be2
commit
db0a4ec1c8
33 changed files with 116 additions and 96 deletions
|
@ -59,7 +59,7 @@ func TestEmptyTar(t *testing.T) {
|
|||
if err != nil {
|
||||
t.Fatalf("NewReader returned error: %v", err)
|
||||
}
|
||||
n, err := gzipReader.Read(decompressed[:])
|
||||
n, _ := gzipReader.Read(decompressed[:])
|
||||
if n != 1024 {
|
||||
t.Fatalf("read returned %d bytes; expected 1024", n)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue