Skip to content
This repository has been archived by the owner on Mar 9, 2019. It is now read-only.

Commit

Permalink
Remove unreachable test code.
Browse files Browse the repository at this point in the history
  • Loading branch information
benbjohnson committed Jul 11, 2014
1 parent ba4adce commit f873035
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions db_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
})
}()

Expand Down Expand Up @@ -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
})
}()

Expand Down

0 comments on commit f873035

Please sign in to comment.