Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleError ¶
func HandleError(err error)
Types ¶
type RunAssertion ¶
type RunAssertion struct {
// contains filtered or unexported fields
}
func AssertRun ¶
func AssertRun(t *testing.T) *RunAssertion
func (*RunAssertion) Args ¶
func (a *RunAssertion) Args(args ...string) *RunAssertion
func (*RunAssertion) ExpectResultCode ¶
func (a *RunAssertion) ExpectResultCode(expectedResultCode int) *RunAssertion
func (*RunAssertion) ExpectedOutput ¶
func (a *RunAssertion) ExpectedOutput(expectedOutput string) *RunAssertion
func (*RunAssertion) Input ¶
func (a *RunAssertion) Input(input string) *RunAssertion
func (*RunAssertion) Run ¶
func (a *RunAssertion) Run()
Click to show internal directories.
Click to hide internal directories.