Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Console ¶
func NewConsole ¶
NewConsole returns a Console for testing PTY handling. All PTY output will be piped to w.
func (*Console) ExpectString ¶
ExpectString advances the PTY buffer until the given string is found. If not, a test error will be thrown, and returns false.
Click to show internal directories.
Click to hide internal directories.