(t *testing.T)
| 2055 | } |
| 2056 | |
| 2057 | func captureOutput(t *testing.T) *string { |
| 2058 | messages := "" |
| 2059 | say.PrintToConsole = func(text string) { |
| 2060 | t.Log(strings.TrimRight(text, "\n")) |
| 2061 | messages += text |
| 2062 | } |
| 2063 | return &messages |
| 2064 | } |
| 2065 | |
| 2066 | func mockOpenInBrowser() { |
| 2067 | open.OpenInBrowser = func(url string) error { |
no outgoing calls
no test coverage detected