Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Error ¶
Error expects cmd to fail with an error that unwraps to want. Error returns the command output but does not validate the output.
func TableOutput ¶
func TableOutput(t *testing.T, cmd *cobra.Command, args []string, want [][]string, colorize func(any) aurora.Value) string
TableOutput expects cmd to output want as a table and returns the actual output. If colorize is non-nil, it is used to colorize the expected output before comparing to the actual output.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.