diff options
author | Ben Johnson <benbjohnson@yahoo.com> | 2014-02-09 15:52:19 -0700 |
---|---|---|
committer | Ben Johnson <benbjohnson@yahoo.com> | 2014-02-10 14:04:01 -0700 |
commit | 509e93dff4cedf88d91ba2c99385da0b4e41eb6a (patch) | |
tree | b6dc2efd0908df4ca7ff270181e46a1e4d85a77c /assert.go | |
parent | Clean up. (diff) | |
download | dedo-509e93dff4cedf88d91ba2c99385da0b4e41eb6a.tar.gz dedo-509e93dff4cedf88d91ba2c99385da0b4e41eb6a.tar.xz |
Add freelist.
Diffstat (limited to 'assert.go')
-rw-r--r-- | assert.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -7,6 +7,6 @@ import "fmt" // _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...)) + panic(fmt.Sprintf("assertion failed: "+msg, v...)) } } |