aboutsummaryrefslogtreecommitdiff
path: root/assert.go
diff options
context:
space:
mode:
authorBen Johnson <benbjohnson@yahoo.com>2014-02-28 15:13:00 -0700
committerBen Johnson <benbjohnson@yahoo.com>2014-02-28 15:13:07 -0700
commit956453b69fd8ba9a356edcf81597d90d769311b2 (patch)
treee6767873d45061d0ca2f4c3f35b235febe2b922e /assert.go
parentAdd bucket reclamation. (diff)
downloaddedo-956453b69fd8ba9a356edcf81597d90d769311b2.tar.gz
dedo-956453b69fd8ba9a356edcf81597d90d769311b2.tar.xz
Minor refactor.
Diffstat (limited to 'assert.go')
-rw-r--r--assert.go12
1 files changed, 0 insertions, 12 deletions
diff --git a/assert.go b/assert.go
deleted file mode 100644
index c22b2b0..0000000
--- a/assert.go
+++ /dev/null
@@ -1,12 +0,0 @@
-package bolt
-
-import "fmt"
-
-// TODO(benbjohnson): Remove assertions before release.
-
-// _assert will panic with a given formatted message if the given condition is false.
-func _assert(condition bool, msg string, v ...interface{}) {
- if !condition {
- panic(fmt.Sprintf("assertion failed: "+msg, v...))
- }
-}