Skip to content
This repository has been archived by the owner on Feb 21, 2024. It is now read-only.

Fix roaring test: TestBitmap_Quick_Array1 #507

Merged
merged 1 commit into from May 1, 2017
Merged

Fix roaring test: TestBitmap_Quick_Array1 #507

merged 1 commit into from May 1, 2017

Conversation

travisturner
Copy link
Member

@travisturner travisturner commented Apr 29, 2017

When the random number generator was coming up 0,
then a = []uint64{}. This caused the bitmap bm to be empty.
In this case, bm.Slice() is a nil slice, while the expected
slice is an empty slice (i.e. they are not considered equal):

got: ([]uint64) <nil>
exp: ([]uint64) {}

When the random number generator was coming up 0,
then `a = []uint64{}`. This caused the bitmap `bm` to be empty.
In this case, `bm.Slice()` is a nil slice, while the expected
slice is an empty slice (i.e. they are not considered equal):
got: ([]uint64) <nil>
exp: ([]uint64) {}
@travisturner travisturner merged commit 84e39e3 into FeatureBaseDB:master May 1, 2017
@travisturner travisturner deleted the roaring-test-fix branch May 1, 2017 02:27
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants