diff options
author | Ben Johnson <benbjohnson@yahoo.com> | 2014-05-19 14:11:32 -0600 |
---|---|---|
committer | Ben Johnson <benbjohnson@yahoo.com> | 2014-05-19 14:11:32 -0600 |
commit | 12b36fe70c3dee7f8ae9a1e2b68f76e1d9c4cd71 (patch) | |
tree | 604e58d3f0b1a6a72b9989822dcb8ff1a4c97b9e /tx_test.go | |
parent | Fix freelist allocation direction. (diff) | |
download | dedo-12b36fe70c3dee7f8ae9a1e2b68f76e1d9c4cd71.tar.gz dedo-12b36fe70c3dee7f8ae9a1e2b68f76e1d9c4cd71.tar.xz |
Fix freelist allocate().
Diffstat (limited to 'tx_test.go')
-rw-r--r-- | tx_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -219,7 +219,7 @@ func TestTx_DeleteBucket(t *testing.T) { db.Update(func(tx *Tx) error { // Verify that the bucket's page is free. - assert.Equal(t, []pgid{5, 4}, db.freelist.all()) + assert.Equal(t, []pgid{4, 5}, db.freelist.all()) // Create the bucket again and make sure there's not a phantom value. b, err := tx.CreateBucket([]byte("widgets")) |