File: require.go.tmpl

package info (click to toggle)
golang-github-tj-assert 0.0.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 140 kB
  • sloc: makefile: 2
file content (6 lines) | stat: -rw-r--r-- 143 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
{{.Comment}}
func {{.DocInfo.Name}}(t TestingT, {{.Params}}) {
  if !assert.{{.DocInfo.Name}}(t, {{.ForwardedParams}}) {
    t.FailNow()
  }
}