Enumerate iterator types
This commit is contained in:
parent
1f67913ed9
commit
cd46452b63
23 changed files with 145 additions and 68 deletions
|
|
@ -105,7 +105,7 @@ func TestLinksToOptimization(t *testing.T) {
|
|||
if !changed {
|
||||
t.Error("Iterator didn't change")
|
||||
}
|
||||
if newIt.Type() != "llrb" {
|
||||
if newIt.Type() != Type() {
|
||||
t.Fatal("Didn't swap out to LLRB")
|
||||
}
|
||||
v := newIt.(*Iterator)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue