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 }) }()