Sprint->Sprintf

This commit is contained in:
Tyler Bunnell 2013-03-31 09:42:14 -06:00
parent cfc83347cf
commit 85763a0f23

View File

@ -406,7 +406,7 @@ func (args Arguments) String(indexOrNil ...int) string {
}
return s
} else {
panic(fmt.Sprint("assert: arguments: Wrong number of arguments passed to String. Must be 0 or 1, not %d", len(indexOrNil)))
panic(fmt.Sprintf("assert: arguments: Wrong number of arguments passed to String. Must be 0 or 1, not %d", len(indexOrNil)))
}
}