Commit 3fed3756 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 2dc1e2e0
......@@ -83,18 +83,18 @@ func TestBTree(t *testing.T) {
obj, ok := xobj.(bmapping)
if !ok {
t.Fatalf("%s: got %T; want Bucket|BTree", tt.oid, xobj)
t.Fatalf("%s: got %T; want LOBucket|LOBTree", tt.oid, xobj)
}
want := ""
switch tt.kind {
case kindBucket:
if _, ok = obj.(*LOBucket); !ok {
want = "Bucket"
want = "LOBucket"
}
case kindBTree:
if _, ok = obj.(*LOBTree); !ok {
want = "BTree"
want = "LOBTree"
}
default:
panic(0)
......@@ -134,7 +134,7 @@ func TestBTree(t *testing.T) {
}
B3, ok := xB3.(*LOBTree)
if !ok {
t.Fatalf("B3: %v; got %T; want BTree", B3_oid, xB3)
t.Fatalf("B3: %v; got %T; want LOBTree", B3_oid, xB3)
}
for i := int64(0); i <= B3_maxkey; i++ {
......@@ -177,5 +177,7 @@ func TestBTree(t *testing.T) {
return firstbucket
}
// XXX verify Entryv ?
verifyFirstBucket(B3)
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment