Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StdinMock ¶ added in v0.7.1
type StdinMock struct {
// contains filtered or unexported fields
}
func MockStdinWithLines ¶ added in v0.7.1
type StdoutCapture ¶
type StdoutCapture struct {
// contains filtered or unexported fields
}
func CaptureStdout ¶
func CaptureStdout() *StdoutCapture
func (*StdoutCapture) AssertContains ¶
func (c *StdoutCapture) AssertContains(t *testing.T, text string)
func (*StdoutCapture) AssertNotContains ¶
func (c *StdoutCapture) AssertNotContains(t *testing.T, text string)
func (*StdoutCapture) Contains ¶
func (c *StdoutCapture) Contains(text string) bool
func (*StdoutCapture) GetOutput ¶
func (c *StdoutCapture) GetOutput() string
func (*StdoutCapture) Restore ¶
func (c *StdoutCapture) Restore()
Click to show internal directories.
Click to hide internal directories.