From 86088fd6881d4efe0f6bf5821943fe92d3d7126f Mon Sep 17 00:00:00 2001 From: Seebs Date: Wed, 30 Mar 2022 11:02:33 -0500 Subject: [PATCH] drop incorrect test The test for bitmap-to-array succeeding doesn't work with roaringParanoia, which *does* intentionally panic at that point. Possibly we should also drop the corresponding logic that tries to prevent it from panicing, since it won't work with the paranoia flag on anyway. --- roaring/containers_test.go | 8 -------- 1 file changed, 8 deletions(-) diff --git a/roaring/containers_test.go b/roaring/containers_test.go index 5e170d4d1..e5d9fc2c4 100644 --- a/roaring/containers_test.go +++ b/roaring/containers_test.go @@ -176,14 +176,6 @@ func TestSliceContainers(t *testing.T) { }) } -func TestContainersFB1247(t *testing.T) { - bm := [bitmapN]uint64{0xF} - co := NewContainerBitmap(1, bm[:]) - co = co.bitmapToArray() - //should not panic - -} - func genRun(r *rand.Rand) Interval16 { gen: dat := r.Uint32()