diff --git a/options_test.go b/options_test.go index 5b31de0..7417f46 100644 --- a/options_test.go +++ b/options_test.go @@ -14,7 +14,7 @@ func (c *Client) validCmd(str string, args ...interface{}) (string, error) { sl := strings.Split(s, "\n") if len(sl) == 2 { if sl[1] != "" { - return "", fmt.Errorf("Error, there should be no options after the newline") + return sl[1], fmt.Errorf("Error, there should be no options after the newline") } for li, in := range sl { fmt.Println(li, in)