From f2b07da1e2c38d5f12845a4f607e2e1018cbb1f5 Mon Sep 17 00:00:00 2001 From: Juan Leni Date: Wed, 15 May 2019 18:53:39 +0200 Subject: [PATCH] fixing linter issues --- command_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/command_test.go b/command_test.go index 258f20a25..2fa2003cb 100644 --- a/command_test.go +++ b/command_test.go @@ -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") } }