Behavior of dehydrate
jamesplease opened this issue · comments
The docs describe dehydrate
as...
Turn the bitset into a comma separated string that skips trailing 0 words...
The tests don't seem to be skipping them, unless I'm misinterpreting what "skip" means?
I would have expected
expect(bs.dehydrate()).toBe('0,1,99');
expect(bs.dehydrate()).toBe('2147483647,99');
based on the README.
Am I just misunderstanding? :)
good catch, will fix tonight
fixed with 3b9a2c8