From 28642282605767552eec8e2223b179ab417b979b Mon Sep 17 00:00:00 2001 From: MrJack <36191829+biagiopietro@users.noreply.github.com> Date: Tue, 28 Jul 2026 09:08:19 +0200 Subject: [PATCH] Make golangci-lint happy Signed-off-by: MrJack <36191829+biagiopietro@users.noreply.github.com> --- pkg/action/install_test.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pkg/action/install_test.go b/pkg/action/install_test.go index 47e961fcd..9b40629dd 100644 --- a/pkg/action/install_test.go +++ b/pkg/action/install_test.go @@ -453,6 +453,7 @@ func TestInstallRelease_DryRunClient(t *testing.T) { func TestInstallRelease_DryRunServerValidation(t *testing.T) { is := assert.New(t) + req := require.New(t) config := actionConfigFixtureWithDummyResources(t, createDummyResourceList(false)) @@ -467,7 +468,7 @@ func TestInstallRelease_DryRunServerValidation(t *testing.T) { vals := map[string]any{} _, err := instAction.Run(buildChart(withSampleTemplates()), vals) - is.Error(err) + req.Error(err) is.Contains(err.Error(), "validation error") config2 := actionConfigFixtureWithDummyResources(t, createDummyResourceList(false)) @@ -479,9 +480,9 @@ func TestInstallRelease_DryRunServerValidation(t *testing.T) { instAction2.DryRunStrategy = DryRunClient resi, err := instAction2.Run(buildChart(withSampleTemplates()), vals) - is.NoError(err) + req.NoError(err) res, err := releaserToV1Release(resi) - is.NoError(err) + req.NoError(err) is.Equal("Dry run complete", res.Info.Description) }