aboutsummaryrefslogtreecommitdiff
path: root/assert.go
diff options
context:
space:
mode:
Diffstat (limited to 'assert.go')
-rw-r--r--assert.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/assert.go b/assert.go
index 8101f8a..c22b2b0 100644
--- a/assert.go
+++ b/assert.go
@@ -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...))
}
}