mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-08-28 10:54:59 +00:00
Fixed fuzz_test.go order to mergability
This commit is contained in:
parent
42b2d0787b
commit
656efb4ea6
1 changed files with 4 additions and 4 deletions
|
|
@ -23,14 +23,14 @@ func TestUnmarshalBinary(t *testing.T) {
|
|||
cr []byte
|
||||
expected string
|
||||
} {
|
||||
{ // Checks for the zero containers situation
|
||||
cr : []byte(":0\x000\x01\x00\x00\x000000"), //":000000"
|
||||
expected : "reading roaring header: malformed bitmap, key-cardinality slice overruns buffer at 12",
|
||||
},
|
||||
{ // Checks for int overflow
|
||||
cr : []byte("<0\x000\x00\x00\x00\x00000000000000" +
|
||||
"0"), //"<000000000000000"
|
||||
expected : "unmarshaling as pilosa roaring: Maximum operation size exceeded",
|
||||
},
|
||||
{ // Checks for the zero containers situation
|
||||
cr : []byte(":0\x000\x01\x00\x00\x000000"), //":000000"
|
||||
expected : "reading roaring header: malformed bitmap, key-cardinality slice overruns buffer at 12",
|
||||
},
|
||||
{ // The next 5 check for malformed bitmaps
|
||||
cr : []byte("<0\x0000000000000000000" +
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue