File: require.go.tmpl

package info (click to toggle)
golang-testify 1.7.0%2Bgit20210824.ab6dc32-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 792 kB
  • sloc: makefile: 2
file content (6 lines) | stat: -rw-r--r-- 187 bytes parent folder | download | duplicates (8)
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()
}