MCPcopy Index your code
hub / github.com/cli/cli / runCommand

Function runCommand

pkg/cmd/pr/status/status_test.go:26–28  ·  view source on GitHub ↗
(rt http.RoundTripper, branch string, isTTY bool, cli string)

Source from the content-addressed store, hash-verified

24)
25
26func runCommand(rt http.RoundTripper, branch string, isTTY bool, cli string) (*test.CmdOut, error) {
27 return runCommandWithDetector(rt, branch, isTTY, cli, &fd.DisabledDetectorMock{})
28}
29
30func runCommandWithDetector(rt http.RoundTripper, branch string, isTTY bool, cli string, detector fd.Detector) (*test.CmdOut, error) {
31 ios, _, stdout, stderr := iostreams.Test()

Calls 1

runCommandWithDetectorFunction · 0.85

Tested by

no test coverage detected