fix bug in storage test

This commit is contained in:
travisturner 2014-12-22 23:17:51 -06:00
parent ba274ea998
commit 0caddadcfe

View file

@ -48,7 +48,7 @@ func TestStorage(t *testing.T) {
SetBit(bm, i)
}
fmt.Println("STORE")
storage.Store(int64(bitmap_id), db, frame, slice, uint64(filter), bm.(*Bitmap))
storage.Store(uint64(bitmap_id), db, frame, slice, uint64(filter), bm.(*Bitmap))
fmt.Println("FETCH")
bm2, _ := storage.Fetch(bitmap_id, db, frame, slice)
So(BitCount(bm), ShouldEqual, BitCount(bm2))