TODO port to new style tests
(rt http.RoundTripper, pm *prompter.PrompterMock, branch string, isTTY bool, cli string)
| 249 | |
| 250 | // TODO port to new style tests |
| 251 | func runCommand(rt http.RoundTripper, pm *prompter.PrompterMock, branch string, isTTY bool, cli string) (*test.CmdOut, error) { |
| 252 | return runCommandWithBranchFunc(rt, pm, func() (string, error) { |
| 253 | return branch, nil |
| 254 | }, isTTY, cli) |
| 255 | } |
| 256 | |
| 257 | func runCommandWithBranchFunc(rt http.RoundTripper, pm *prompter.PrompterMock, branch func() (string, error), isTTY bool, cli string) (*test.CmdOut, error) { |
| 258 | ios, _, stdout, stderr := iostreams.Test() |
no test coverage detected