command

package
v0.19.3 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExpectedCommandStringEqualsActualCommand

func ExpectedCommandStringEqualsActualCommand(t *testing.T, expectedCommandString string, actualCommand Output)

func IsError

func IsError(output Output) bool

Types

type Output

type Output struct {
	CommandString string
	Error         error
	Output        string
}

func Error

func Error(err error) Output

func ErrorString

func ErrorString(err string) Output

func Run

func Run(cmd exec.