Skip to content
Myr

fixing linter issues

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Juan Leni · committed by Steve Francia · parent b635726 · Browse files · 1 file+2 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:command_test.go+2 added-2 removed
1410 unmodified lines
1411 c.usageFunc = func(cmd *Command) error {1412 cmd.Print("[stdout1]")1413 cmd.PrintErr("[stderr2]")1414 cmd.Print("[stdout3]")1415 return nil;1415 return nil1416 }14171418 expected := "[stdout1][stderr2][stdout3]"1419 if got := c.UsageString(); got != expected {1419 if got := c.UsageString(); got != expected {1420 t.Errorf("Expected usage string to consider both stdout and stderr")1421 }1422}1423
352 unmodified lines