Documentation ¶
Index ¶
Constants ¶
View Source
const Msg = "fake error"
Msg is the fake message
Variables ¶
This section is empty.
Functions ¶
func NewFailExec ¶
NewFailExec creates an Exec packed use for for testing failures.
func NewFailExecCmd ¶
NewFailExecCmd is used for testing a cmd that should fail.
Types ¶
type ErrFakeFatal ¶
type ErrFakeFatal struct { }
ErrFakeFatal is the fake fatal error.
func (ErrFakeFatal) Error ¶
func (f ErrFakeFatal) Error() string
type Exec ¶
type Exec struct {
// contains filtered or unexported fields
}
Exec is the fake exec package
Click to show internal directories.
Click to hide internal directories.