MCPcopy Create free account
hub / github.com/stretchr/testify / ParamsFormat

Method ParamsFormat

_codegen/main.go:276–278  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

274}
275
276func (f *testFunc) ParamsFormat() string {
277 return strings.Replace(f.Params(), "msgAndArgs", "msg string, args", 1)
278}
279
280func (f *testFunc) ForwardedParamsFormat() string {
281 return strings.Replace(f.ForwardedParams(), "msgAndArgs", "append([]interface{}{msg}, args...)", 1)

Callers

nothing calls this directly

Calls 1

ParamsMethod · 0.95

Tested by

no test coverage detected