Skip to content

Commit

Permalink
fix varin tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jxsl13 committed Jul 5, 2024
1 parent 3cf5ead commit fa045c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compression/varint_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ func TestVarintExtensive(t *testing.T) {
written = PutVarint(buf, in)
out, read = Varint(buf)
)
require.GreaterOrEqual(0, read, "read must be at least 0")
require.GreaterOrEqual(read, 1, "read must be at least 1")
require.Equal(in, out, "in/out")
require.Equal(written, read, "written/read")
}
Expand Down

0 comments on commit fa045c6

Please sign in to comment.