MCPcopy Index your code
hub / github.com/google/go-github / assertOutput

Method assertOutput

tools/metadata/main_test.go:293–297  ·  view source on GitHub ↗
(stdout, stderr string)

Source from the content-addressed store, hash-verified

291}
292
293func (r testRun) assertOutput(stdout, stderr string) {
294 r.t.Helper()
295 assertEqualStrings(r.t, strings.TrimSpace(stdout), strings.TrimSpace(r.stdOut.String()))
296 assertEqualStrings(r.t, strings.TrimSpace(stderr), strings.TrimSpace(r.stdErr.String()))
297}
298
299func (r testRun) assertNoErr() {
300 r.t.Helper()

Callers 4

TestUpdateGoFunction · 0.80
TestUnusedFunction · 0.80
TestUpdateOpenAPIFunction · 0.80
TestFormatFunction · 0.80

Calls 2

assertEqualStringsFunction · 0.85
StringMethod · 0.45

Tested by

no test coverage detected