Skip to content

Commit

Permalink
fix assert printer
Browse files Browse the repository at this point in the history
  • Loading branch information
mkideal committed Aug 28, 2024
1 parent ebf212e commit 0c70e55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion op/op.go
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ func Assert(cond bool, msgs ...any) {
if !cond {
msg := "assertion failed"
if len(msgs) > 0 {
msg = fmt.Sprint(msgs)
msg = fmt.Sprint(msgs...)
}
panic(msg)
}
Expand Down

0 comments on commit 0c70e55

Please sign in to comment.