aboutsummaryrefslogtreecommitdiff
path: root/db_test.go
diff options
context:
space:
mode:
authorBen Johnson <benbjohnson@yahoo.com>2014-07-11 10:07:24 -0600
committerBen Johnson <benbjohnson@yahoo.com>2014-07-11 10:07:24 -0600
commitf873035fc9053e2f325d2b4ab808cd2ad0027ff1 (patch)
treef889c7ce8b18e59faac7d837b505792cccccffbd /db_test.go
parentMerge pull request #220 from benbjohnson/handle-panic (diff)
downloaddedo-f873035fc9053e2f325d2b4ab808cd2ad0027ff1.tar.gz
dedo-f873035fc9053e2f325d2b4ab808cd2ad0027ff1.tar.xz
Remove unreachable test code.
Diffstat (limited to 'db_test.go')
-rw-r--r--db_test.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/db_test.go b/db_test.go
index 9849ed6..0809bcb 100644
--- a/db_test.go
+++ b/db_test.go
@@ -274,7 +274,6 @@ func TestDB_Update_Panic(t *testing.T) {
db.Update(func(tx *Tx) error {
tx.CreateBucket([]byte("widgets"))
panic("omg")
- return nil
})
}()
@@ -320,7 +319,6 @@ func TestDB_View_Panic(t *testing.T) {
db.View(func(tx *Tx) error {
assert.NotNil(t, tx.Bucket([]byte("widgets")))
panic("omg")
- return nil
})
}()