diff --git a/commands/cli/parse_test.go b/commands/cli/parse_test.go index 5caf5bdae..640fdd287 100644 --- a/commands/cli/parse_test.go +++ b/commands/cli/parse_test.go @@ -166,10 +166,10 @@ func TestArgumentParsing(t *testing.T) { } req, _, _, err := Parse(cmd, f, rootCmd) if err != nil { - t.Errorf("Command '%v' should have passed parsing", cmd) + t.Errorf("Command '%v' should have passed parsing: %v", cmd, err) } if !sameWords(req.Arguments(), res) { - t.Errorf("Arguments parsed from '%v' are not '%v'", cmd, res) + t.Errorf("Arguments parsed from '%v' are '%v' instead of '%v'", cmd, req.Arguments(), res) } }