utils

package
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 28, 2019 License: GPL-3.0 Imports: 7 Imported by: 0

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()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL