This commit adds a new testutil.CaptureStdio helper so that we
can test external go modules that use os.Std{out,err} but now
allow mocking or overwriting.
|
||
|---|---|---|
| .. | ||
| testutil.go | ||
| testutil_test.go | ||
This commit adds a new testutil.CaptureStdio helper so that we
can test external go modules that use os.Std{out,err} but now
allow mocking or overwriting.
|
||
|---|---|---|
| .. | ||
| testutil.go | ||
| testutil_test.go | ||