MCPcopy Create free account
hub / github.com/cli/cli / runCommand

Function runCommand

pkg/cmd/issue/create/create_test.go:1427–1429  ·  view source on GitHub ↗

*** LEGACY TESTS ***/

(rt http.RoundTripper, isTTY bool, cli string, pm *prompter.PrompterMock)

Source from the content-addressed store, hash-verified

1425
1426/*** LEGACY TESTS ***/
1427func runCommand(rt http.RoundTripper, isTTY bool, cli string, pm *prompter.PrompterMock) (*test.CmdOut, error) {
1428 return runCommandWithRootDirOverridden(rt, isTTY, cli, "", pm)
1429}
1430
1431func runCommandWithRootDirOverridden(rt http.RoundTripper, isTTY bool, cli string, rootDir string, pm *prompter.PrompterMock) (*test.CmdOut, error) {
1432 ios, _, stdout, stderr := iostreams.Test()

Calls 1

Tested by

no test coverage detected