aboutsummaryrefslogtreecommitdiff
path: root/assert.go
diff options
context:
space:
mode:
authorBen Johnson <benbjohnson@yahoo.com>2014-02-07 22:55:25 -0700
committerBen Johnson <benbjohnson@yahoo.com>2014-02-08 23:13:54 -0700
commit3da04c52b991337e74c72f2c76bd1aa9df77eab2 (patch)
treed31bed34f7fe34eb8c5a21f311a1103ed4b58b2a /assert.go
parentRefactor node lookup. (diff)
downloaddedo-3da04c52b991337e74c72f2c76bd1aa9df77eab2.tar.gz
dedo-3da04c52b991337e74c72f2c76bd1aa9df77eab2.tar.xz
Rebalance after deletion.
Diffstat (limited to 'assert.go')
-rw-r--r--assert.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/assert.go b/assert.go
index 912e484..8101f8a 100644
--- a/assert.go
+++ b/assert.go
@@ -4,8 +4,8 @@ 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{}) {
+// _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...))
}