aboutsummaryrefslogtreecommitdiff
path: root/cmd/bolt/set_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/bolt/set_test.go')
-rw-r--r--cmd/bolt/set_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/bolt/set_test.go b/cmd/bolt/set_test.go
index 519d888..be07148 100644
--- a/cmd/bolt/set_test.go
+++ b/cmd/bolt/set_test.go
@@ -13,7 +13,7 @@ func TestSet(t *testing.T) {
SetTestMode(true)
open(func(db *bolt.DB, path string) {
db.Update(func(tx *bolt.Tx) error {
- tx.CreateBucket("widgets")
+ tx.CreateBucket([]byte("widgets"))
return nil
})
db.Close()