Documentation
¶
Index ¶
Constants ¶
Variables ¶
This section is empty.
Functions ¶
func AnsiString ¶ added in v1.6.0
func AnsiString(strs ...string) expect.ExpectOpt
func RunTerminalTest ¶
RunTerminalTest runs a fake terminal test which catpures all in & output Source: https://github.com/AlecAivazis/survey/blob/master/survey_posix_test.go
Types ¶
type AnsiStringMatcher ¶ added in v1.6.0
type AnsiStringMatcher struct {
// contains filtered or unexported fields
}
AnsiStringMatcher fulfills the Matcher interface to match strings against a given bytes.Buffer.
func (*AnsiStringMatcher) Criteria ¶ added in v1.6.0
func (sm *AnsiStringMatcher) Criteria() interface{}
func (*AnsiStringMatcher) Match ¶ added in v1.6.0
func (sm *AnsiStringMatcher) Match(v interface{}) bool
type Console ¶
type Console struct {
// contains filtered or unexported fields
}
func (*Console) ExpectString ¶
Click to show internal directories.
Click to hide internal directories.