diff --git a/varint_test.go b/varint_test.go index 0aac9e4..76ad430 100644 --- a/varint_test.go +++ b/varint_test.go @@ -117,6 +117,9 @@ func TestNotMinimalRead(t *testing.T) { if i != 1 { t.Error("expected varint 1") } + if err != nil { + t.Fatal(err) + } } func TestUnderflow(t *testing.T) {