aboutsummaryrefslogtreecommitdiff
path: root/tx_test.go
diff options
context:
space:
mode:
authorBen Johnson <benbjohnson@yahoo.com>2014-03-25 07:31:49 -0600
committerBen Johnson <benbjohnson@yahoo.com>2014-03-25 07:31:49 -0600
commit381d08dffdc123a32e4f8161dfc45dc2798e579c (patch)
treeedb3796d02f7b1db0cff564ff92be29c9448ea45 /tx_test.go
parentREADME (diff)
parentFix bucket reclamation. (diff)
downloaddedo-381d08dffdc123a32e4f8161dfc45dc2798e579c.tar.gz
dedo-381d08dffdc123a32e4f8161dfc45dc2798e579c.tar.xz
Merge pull request #90 from benbjohnson/fix-bucket-reclamation
Fix bucket reclamation
Diffstat (limited to 'tx_test.go')
-rw-r--r--tx_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tx_test.go b/tx_test.go
index 58cfc95..0694b3b 100644
--- a/tx_test.go
+++ b/tx_test.go
@@ -230,7 +230,7 @@ func TestTxDeleteBucket(t *testing.T) {
db.Update(func(tx *Tx) error {
// Verify that the bucket's page is free.
- assert.Equal(t, []pgid{root}, db.freelist.all())
+ assert.Equal(t, []pgid{6, root, 3}, db.freelist.all())
// Create the bucket again and make sure there's not a phantom value.
assert.NoError(t, tx.CreateBucket("widgets"))