From bdaa93b969f246119c4fd14267d286b041fb8f7f Mon Sep 17 00:00:00 2001 From: Evans Mungai Date: Tue, 22 Oct 2024 18:50:23 +0100 Subject: [PATCH] Ensure test fails without causing panic Signed-off-by: Evans Mungai --- pkg/registry/utils_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/registry/utils_test.go b/pkg/registry/utils_test.go index 12640418e..ee78ea76f 100644 --- a/pkg/registry/utils_test.go +++ b/pkg/registry/utils_test.go @@ -351,7 +351,7 @@ func testPull(suite *TestSuite) { // full pull with chart and prov result, err := suite.RegistryClient.Pull(ref, PullOptWithProv(true)) - suite.Nil(err, "no error pulling a chart with prov") + suite.Require().Nil(err, "no error pulling a chart with prov") // Validate the output // Note: these digests/sizes etc may change if the test chart/prov files are modified,