Skip to content

Commit

Permalink
fixing linter issues
Browse files Browse the repository at this point in the history
  • Loading branch information
jleni authored and spf13 committed Jun 7, 2019
1 parent b635726 commit f2b07da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions command_test.go
Expand Up @@ -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")
}
}
Expand Down

0 comments on commit f2b07da

Please sign in to comment.