MCPcopy Create free account
hub / github.com/remotemobprogramming/mob / captureOutput

Function captureOutput

mob_test.go:2057–2064  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

2055}
2056
2057func 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
2066func mockOpenInBrowser() {
2067 open.OpenInBrowser = func(url string) error {

Calls

no outgoing calls

Tested by

no test coverage detected