Documentation ¶
Index ¶
- func CaptureMessages() (cleanup func(), checkMessages func(*testing.T, []string))
- func Check(t *testing.T, err error)
- func CheckLines(t *testing.T, cmd []string, expLines []string)
- func CheckLinesSorted(t *testing.T, filter func(string) string, cmd []string, expLines []string)
- func ExpStdout(t *testing.T, fn func(), expStdout, expStderr string)
- func ToLines(out []byte) []string
- func WithStdout(fn func()) ([]byte, []byte)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CaptureMessages ¶
func CheckLinesSorted ¶
func WithStdout ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.