fix(helm): resolve linter's warning on template command unit tests

Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
pull/3897/head
Arash Deshmeh 7 years ago
parent cb76184c91
commit 75682ed584

@ -160,9 +160,8 @@ func TestTemplateCmd(t *testing.T) {
// had the error we were looking for, this test case is // had the error we were looking for, this test case is
// done // done
return 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 { } else if err != nil {
t.Errorf("expected no error, got %v", err) t.Errorf("expected no error, got %v", err)
} }

Loading…
Cancel
Save