diff options
author | Ben Johnson <benbjohnson@yahoo.com> | 2014-02-07 22:55:25 -0700 |
---|---|---|
committer | Ben Johnson <benbjohnson@yahoo.com> | 2014-02-08 23:13:54 -0700 |
commit | 3da04c52b991337e74c72f2c76bd1aa9df77eab2 (patch) | |
tree | d31bed34f7fe34eb8c5a21f311a1103ed4b58b2a /assert.go | |
parent | Refactor node lookup. (diff) | |
download | dedo-3da04c52b991337e74c72f2c76bd1aa9df77eab2.tar.gz dedo-3da04c52b991337e74c72f2c76bd1aa9df77eab2.tar.xz |
Rebalance after deletion.
Diffstat (limited to 'assert.go')
-rw-r--r-- | assert.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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...)) } |