fix NewAnd taking quadstore in tests
This commit is contained in:
parent
b90ba7cd77
commit
102b3d7ef5
8 changed files with 62 additions and 26 deletions
|
|
@ -33,7 +33,7 @@ func TestSingleIterator(t *testing.T) {
|
|||
func TestAndIterator(t *testing.T) {
|
||||
all1 := iterator.NewInt64(1, 3)
|
||||
all2 := iterator.NewInt64(3, 5)
|
||||
and := iterator.NewAnd()
|
||||
and := iterator.NewAnd(nil)
|
||||
and.AddSubIterator(all1)
|
||||
and.AddSubIterator(all2)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue