From fedf5024d60bcb4efce9cf7f6f1b7bca642a66eb Mon Sep 17 00:00:00 2001 From: Jesse Simpson Date: Thu, 22 May 2025 18:48:20 -0400 Subject: [PATCH] test: Skip instead of returning early. looks more intentional Signed-off-by: Jesse Simpson --- pkg/registry/client_http_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/registry/client_http_test.go b/pkg/registry/client_http_test.go index a8d2c4758..e0cd548c3 100644 --- a/pkg/registry/client_http_test.go +++ b/pkg/registry/client_http_test.go @@ -58,21 +58,21 @@ func (suite *HTTPRegistryClientTestSuite) Test_0_Login() { func (suite *HTTPRegistryClientTestSuite) Test_1_Push() { if suite.protocol != "" || suite.Repo != "" { - return + suite.T().Skip("Skipping we don't strip protocol or repo prior to execution") } testPush(&suite.TestSuite) } func (suite *HTTPRegistryClientTestSuite) Test_2_Pull() { if suite.protocol != "" || suite.Repo != "" { - return + suite.T().Skip("Skipping we don't strip protocol or repo prior to execution") } testPull(&suite.TestSuite) } func (suite *HTTPRegistryClientTestSuite) Test_3_Tags() { if suite.protocol != "" || suite.Repo != "" { - return + suite.T().Skip("Skipping we don't strip protocol or repo prior to execution") } testTags(&suite.TestSuite) }