fixing linter issues

This commit is contained in:
Juan Leni 2019-05-15 18:53:39 +02:00
parent 4d52f3f718
commit 558b01866a
No known key found for this signature in database
GPG key ID: 23F1452155140419

View file

@ -1412,11 +1412,11 @@ func TestUsageStringRedirected(t *testing.T) {
cmd.Print("[stdout1]")
cmd.PrintErr("[stderr2]")
cmd.Print("[stdout3]")
return nil;
return nil
}
expected := "[stdout1][stderr2][stdout3]"
if got := c.UsageString(); got != expected {
if got := c.UsageString(); got != expected {
t.Errorf("Expected usage string to consider both stdout and stderr")
}
}