From 0caddadcfea7e5e2a23ebc8f4156afc5cf062a3d Mon Sep 17 00:00:00 2001 From: travisturner Date: Mon, 22 Dec 2014 23:17:51 -0600 Subject: [PATCH] fix bug in storage test --- index/storage_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index/storage_test.go b/index/storage_test.go index a392d7e95..b01ff3c99 100644 --- a/index/storage_test.go +++ b/index/storage_test.go @@ -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))