aboutsummaryrefslogtreecommitdiff
path: root/tx_test.go
diff options
context:
space:
mode:
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 f630e97..e3296ef 100644
--- a/tx_test.go
+++ b/tx_test.go
@@ -289,7 +289,7 @@ func ExampleTx_Rollback() {
// Ensure that our original value is still set.
db.View(func(tx *Tx) error {
value := tx.Bucket([]byte("widgets")).Get([]byte("foo"))
- fmt.Printf("The value for 'foo' is still: %s\n", string(value))
+ fmt.Printf("The value for 'foo' is still: %s\n", value)
return nil
})