...

Text file src/github.com/stretchr/testify/require/require.go.tmpl

Documentation: github.com/stretchr/testify/require

     1{{.Comment}}
     2func {{.DocInfo.Name}}(t TestingT, {{.Params}}) {
     3	if h, ok := t.(tHelper); ok { h.Helper() }
     4	if assert.{{.DocInfo.Name}}(t, {{.ForwardedParams}}) { return }
     5	t.FailNow()
     6}

View as plain text