MCPcopy Create free account
hub / github.com/commander-cli/commander / errors

Method errors

pkg/output/cli_template.go:96–99  ·  view source on GitHub ↗
(testResult TestResult)

Source from the content-addressed store, hash-verified

94}
95
96func (t cliTemplate) errors(testResult TestResult) string {
97 tpl := t.getTemplatedString("error", testResult)
98 return tpl.String()
99}
100
101func (t cliTemplate) getTemplatedString(name string, data interface{}) bytes.Buffer {
102 var tpl bytes.Buffer

Callers 1

printFailuresMethod · 0.80

Calls 1

getTemplatedStringMethod · 0.95

Tested by

no test coverage detected