aboutsummaryrefslogtreecommitdiff
path: root/simulation_test.go
diff options
context:
space:
mode:
authorBen Johnson <benbjohnson@yahoo.com>2014-05-09 10:02:13 -0600
committerBen Johnson <benbjohnson@yahoo.com>2014-05-09 10:02:13 -0600
commit4b56f820bc6b6fbd1720acb005de0122b2f90544 (patch)
tree058209a444636914495eaa47621d7811a11156c0 /simulation_test.go
parentFix node unit tests. (diff)
parentMerge branch 'master' of https://github.com/boltdb/bolt into fix-deletion (diff)
downloaddedo-4b56f820bc6b6fbd1720acb005de0122b2f90544.tar.gz
dedo-4b56f820bc6b6fbd1720acb005de0122b2f90544.tar.xz
Merge pull request #160 from benbjohnson/fix-deletion
Fix deletion & dereferencing.
Diffstat (limited to 'simulation_test.go')
-rw-r--r--simulation_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/simulation_test.go b/simulation_test.go
index 9c196c6..482349f 100644
--- a/simulation_test.go
+++ b/simulation_test.go
@@ -128,7 +128,7 @@ func simulateGetHandler(tx *Tx, qdb *QuickDB) {
// Retrieve root bucket.
b := tx.Bucket(keys[0])
if b == nil {
- panic(fmt.Sprintf("bucket[0] expected: %v\n", keys[0]))
+ panic(fmt.Sprintf("bucket[0] expected: %08x\n", trunc(keys[0], 4)))
}
// Drill into nested buckets.