File: require.go.tmpl

package info (click to toggle)
golang-github-jmespath-go-jmespath 0.4.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 3,564 kB
  • sloc: makefile: 39; sh: 23
file content (6 lines) | stat: -rw-r--r-- 187 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
{{.Comment}}
func {{.DocInfo.Name}}(t TestingT, {{.Params}}) {
	if h, ok := t.(tHelper); ok { h.Helper() }
	if assert.{{.DocInfo.Name}}(t, {{.ForwardedParams}}) { return }
	t.FailNow()
}