fix test break

pull/432/head
Darien Raymond 2017-04-08 22:09:13 +02:00
parent 2d813295e6
commit 6c736b8d57
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ type Error struct {
func (v *Error) formMessage() string { func (v *Error) formMessage() string {
if len(v.format) == 0 { if len(v.format) == 0 {
return serial.Concat(v.message) return serial.Concat(v.message...)
} }
return fmt.Sprintf(v.format, v.message...) return fmt.Sprintf(v.format, v.message...)
} }