Commit 30057cef authored by Mattia Bertorello's avatar Mattia Bertorello

Removed the name in the return parameters

parent 737a9fcf
......@@ -67,7 +67,9 @@ func (grabber *stdOutRedirect) Close() {
// executeWithArgs executes the Cobra Command with the given arguments
// and intercepts any errors (even `os.Exit()` ones), returning the exit code
func executeWithArgs(t *testing.T, args ...string) (exitCode int, output []byte) {
func executeWithArgs(t *testing.T, args ...string) (int, []byte) {
var output []byte
var exitCode int
fmt.Printf("RUNNING: %s\n", args)
redirect := &stdOutRedirect{}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment