aboutsummaryrefslogtreecommitdiff
path: root/assert.go
diff options
context:
space:
mode:
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...))
- }
-}