diff options
author | Ben Johnson <benbjohnson@yahoo.com> | 2014-02-09 13:48:12 -0700 |
---|---|---|
committer | Ben Johnson <benbjohnson@yahoo.com> | 2014-02-09 13:48:12 -0700 |
commit | 768c52976e200fe1b8c655c4c11856836dd9ea89 (patch) | |
tree | d31bed34f7fe34eb8c5a21f311a1103ed4b58b2a /assert.go | |
parent | Refactor node lookup. (diff) | |
parent | Rebalance after deletion. (diff) | |
download | dedo-768c52976e200fe1b8c655c4c11856836dd9ea89.tar.gz dedo-768c52976e200fe1b8c655c4c11856836dd9ea89.tar.xz |
Merge pull request #19 from benbjohnson/rebalance
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...)) } |