mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-10-07 11:27:50 +00:00
Fix broken test
This commit is contained in:
parent
a51f7d66bb
commit
3ad1c5b331
1 changed files with 1 additions and 4 deletions
|
|
@ -732,7 +732,7 @@ func TestBitmapSetRange(t *testing.T) {
|
|||
}
|
||||
|
||||
func TestArrayToBitmap(t *testing.T) {
|
||||
a := &container{ctype: ARRAY}
|
||||
a := &container{}
|
||||
tests := []struct {
|
||||
array []uint32
|
||||
exp []uint64
|
||||
|
|
@ -754,9 +754,6 @@ func TestArrayToBitmap(t *testing.T) {
|
|||
if !reflect.DeepEqual(a.bitmap, exp) {
|
||||
t.Fatalf("test #%v expected %v, but got %v", i, exp, a.bitmap)
|
||||
}
|
||||
if a.ctype != BITMAP {
|
||||
t.Fatalf("test #%v expected type %v but got %v", i, BITMAP, a.ctype)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue