diff --git a/commands/cli/parse_test.go b/commands/cli/parse_test.go index 5caf5bdae074197493528903faf33be475150d4e..640fdd287c97d991213ccc176e65cdd1ebf36c8c 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) } }