Skip to content

Commit

Permalink
e2e tests: Remove duplicate template parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
sutaakar authored and openshift-merge-bot[bot] committed Feb 12, 2025
1 parent 25e0950 commit 3aad386
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tests/common/template.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,6 @@ func ParseTemplate(t support.Test, inputTemplate []byte, props interface{}) []by
buffer := new(bytes.Buffer)
err = parsedTemplate.Execute(buffer, props)
t.Expect(err).NotTo(gomega.HaveOccurred())
err = parsedTemplate.Execute(buffer, props) // NOTE: not sure if template package handles recursive case
t.Expect(err).NotTo(gomega.HaveOccurred())

return buffer.Bytes()
}

0 comments on commit 3aad386

Please sign in to comment.