Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ecrupper committed Oct 26, 2023
1 parent cc5c895 commit 3dfc0e4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions api/build/skip_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ func Test_SkipEmptyBuild(t *testing.T) {
{
Name: "init",
},
}}}, "skipping build since only init stage found"},
}}}, "skipping build since only init stage found. It is likely no rulesets matched for the webhook payload."},
{"init and clone stages", args{p: &pipeline.Build{Stages: []*pipeline.Stage{
{
Name: "init",
},
{
Name: "clone",
},
}}}, "skipping build since only init and clone stages found"},
}}}, "skipping build since only init and clone stages found. It is likely no rulesets matched for the webhook payload."},
{"three stages", args{p: &pipeline.Build{Stages: []*pipeline.Stage{
{
Name: "init",
Expand All @@ -46,15 +46,15 @@ func Test_SkipEmptyBuild(t *testing.T) {
{
Name: "init",
},
}}}, "skipping build since only init step found"},
}}}, "skipping build since only init step found. It is likely no rulesets matched for the webhook payload."},
{"init and clone steps", args{p: &pipeline.Build{Steps: []*pipeline.Container{
{
Name: "init",
},
{
Name: "clone",
},
}}}, "skipping build since only init and clone steps found"},
}}}, "skipping build since only init and clone steps found. It is likely no rulesets matched for the webhook payload."},
{"three steps", args{p: &pipeline.Build{Steps: []*pipeline.Container{
{
Name: "init",
Expand Down

0 comments on commit 3dfc0e4

Please sign in to comment.