mirror of
https://github.com/stretchr/testify.git
synced 2025-05-31 11:42:44 +00:00
Sprint->Sprintf
This commit is contained in:
parent
cfc83347cf
commit
85763a0f23
@ -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)))
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user