MCPcopy
hub / github.com/stretchr/testify / ForwardedParamsFormat

Method ForwardedParamsFormat

_codegen/main.go:279–281  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

277}
278
279func (f *testFunc) ForwardedParamsFormat() string {
280 return strings.Replace(f.ForwardedParams(), "msgAndArgs", "append([]interface{}{msg}, args...)", 1)
281}
282
283func (f *testFunc) Comment() string {
284 return "// " + strings.Replace(strings.TrimSpace(f.DocInfo.Doc), "\n", "\n// ", -1)

Callers

nothing calls this directly

Calls 1

ForwardedParamsMethod · 0.95

Tested by

no test coverage detected