审查视图

vendor/github.com/stretchr/testify/require/require.go.tmpl 187 字节
tangxvhui authored
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()
}