From 75682ed5844400e5dcd24ec7532c0fa454defd4d Mon Sep 17 00:00:00 2001 From: Arash Deshmeh Date: Sat, 14 Apr 2018 05:52:34 -0400 Subject: [PATCH] fix(helm): resolve linter's warning on template command unit tests Signed-off-by: Arash Deshmeh --- cmd/helm/template_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cmd/helm/template_test.go b/cmd/helm/template_test.go index 68ed87cd2..cad42db16 100644 --- a/cmd/helm/template_test.go +++ b/cmd/helm/template_test.go @@ -160,9 +160,8 @@ func TestTemplateCmd(t *testing.T) { // had the error we were looking for, this test case is // done return - } else { - t.Fatalf("expected err: %q, got: %q", tt.expectError, err) } + t.Fatalf("expected err: %q, got: %q", tt.expectError, err) } else if err != nil { t.Errorf("expected no error, got %v", err) }