diff options
author | Ben Johnson <benbjohnson@yahoo.com> | 2014-07-11 10:07:24 -0600 |
---|---|---|
committer | Ben Johnson <benbjohnson@yahoo.com> | 2014-07-11 10:07:24 -0600 |
commit | f873035fc9053e2f325d2b4ab808cd2ad0027ff1 (patch) | |
tree | f889c7ce8b18e59faac7d837b505792cccccffbd /db_test.go | |
parent | Merge pull request #220 from benbjohnson/handle-panic (diff) | |
download | dedo-f873035fc9053e2f325d2b4ab808cd2ad0027ff1.tar.gz dedo-f873035fc9053e2f325d2b4ab808cd2ad0027ff1.tar.xz |
Remove unreachable test code.
Diffstat (limited to 'db_test.go')
-rw-r--r-- | db_test.go | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -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 }) }() |