Skip to content

Commit

Permalink
fix: test merge
Browse files Browse the repository at this point in the history
  • Loading branch information
plyr4 committed May 10, 2024
1 parent e77df13 commit f54aa67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/native/expand_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -897,7 +897,7 @@ func TestNative_ExpandSteps_TemplateCallTemplate(t *testing.T) {

for _, test := range tests {
t.Run(test.name, func(t *testing.T) {
build, err := compiler.ExpandSteps(&yaml.Build{Steps: steps, Services: yaml.ServiceSlice{}, Environment: globalEnvironment, Templates: yaml.TemplateSlice{test.tmpls["chain"]}}, test.tmpls, new(pipeline.RuleData), compiler.TemplateDepth)
build, err := compiler.ExpandSteps(&yaml.Build{Steps: steps, Services: yaml.ServiceSlice{}, Environment: globalEnvironment, Templates: yaml.TemplateSlice{test.tmpls["chain"]}}, test.tmpls, new(pipeline.RuleData), compiler.GetTemplateDepth())
if err != nil {
t.Errorf("ExpandSteps_Type%s returned err: %v", test.name, err)
}
Expand Down

0 comments on commit f54aa67

Please sign in to comment.