Skip to content

Commit fe53e2a

Browse files
fix staticcheck
1 parent 5d9803d commit fe53e2a

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)