Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-12-04 18:44:54 +01:00
forgejo/vendor/github.com/stretchr/testify/require/require.go.tmpl
Mura Li d77176912b Use Go1.11 module (#5743)
* Migrate to go modules

* make vendor

* Update mvdan.cc/xurls

* make vendor

* Update code.gitea.io/git

* make fmt-check

* Update github.com/go-sql-driver/mysql

* make vendor
2019-03-27 19:15:23 +08:00

6 lines
187 B
Cheetah

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