Skip to content

Commit df9e07e

Browse files
authored
Merge pull request #9 from multiformats/fix-staticcheck
fix staticcheck
2 parents 5d9803d + fe53e2a commit df9e07e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

varint_test.go

+3
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,9 @@ func TestNotMinimalRead(t *testing.T) {
117117
if i != 1 {
118118
t.Error("expected varint 1")
119119
}
120+
if err != nil {
121+
t.Fatal(err)
122+
}
120123
}
121124

122125
func TestUnderflow(t *testing.T) {

0 commit comments

Comments
 (0)