Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertCommandsMatch ¶
func AssertCommandsMatch(t require.TestingT, expectedCommands [][]string, actualCommands []*exec.Command)
AssertCommandsMatch does a quick comparison of the commands returned by exec.CommandCollector with the name and arguments listed as a space seperated list. Other details of a command (e.g. if they had standard out or set environment variables) should be handled in follow on, specific assertions. If the size of the command lists does not match, as many as possible will be compared before ending in a fatal manner.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.