test: Skip instead of returning early. looks more intentional

Signed-off-by: Jesse Simpson <jesse.simpson36@gmail.com>
pull/30916/head
Jesse Simpson 4 months ago
parent fe512bae43
commit fedf5024d6
No known key found for this signature in database
GPG Key ID: 237495C89AB0AAFC

@ -58,21 +58,21 @@ func (suite *HTTPRegistryClientTestSuite) Test_0_Login() {
func (suite *HTTPRegistryClientTestSuite) Test_1_Push() { func (suite *HTTPRegistryClientTestSuite) Test_1_Push() {
if suite.protocol != "" || suite.Repo != "" { if suite.protocol != "" || suite.Repo != "" {
return suite.T().Skip("Skipping we don't strip protocol or repo prior to execution")
} }
testPush(&suite.TestSuite) testPush(&suite.TestSuite)
} }
func (suite *HTTPRegistryClientTestSuite) Test_2_Pull() { func (suite *HTTPRegistryClientTestSuite) Test_2_Pull() {
if suite.protocol != "" || suite.Repo != "" { if suite.protocol != "" || suite.Repo != "" {
return suite.T().Skip("Skipping we don't strip protocol or repo prior to execution")
} }
testPull(&suite.TestSuite) testPull(&suite.TestSuite)
} }
func (suite *HTTPRegistryClientTestSuite) Test_3_Tags() { func (suite *HTTPRegistryClientTestSuite) Test_3_Tags() {
if suite.protocol != "" || suite.Repo != "" { if suite.protocol != "" || suite.Repo != "" {
return suite.T().Skip("Skipping we don't strip protocol or repo prior to execution")
} }
testTags(&suite.TestSuite) testTags(&suite.TestSuite)
} }

Loading…
Cancel
Save