mirror of https://github.com/stretchr/testify.git
Sprint->Sprintf
parent
cfc83347cf
commit
85763a0f23
|
@ -406,7 +406,7 @@ func (args Arguments) String(indexOrNil ...int) string {
|
||||||
}
|
}
|
||||||
return s
|
return s
|
||||||
} else {
|
} 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…
Reference in New Issue