mirror of
https://github.com/go-gitea/gitea
synced 2025-07-16 07:18:37 +00:00
Unit tests for token and update models
This commit is contained in:
committed by
Kim "BKC" Carlbäcker
parent
c0904f1942
commit
de8b73dd92
6
vendor/github.com/stretchr/testify/require/require.go.tmpl
generated
vendored
Normal file
6
vendor/github.com/stretchr/testify/require/require.go.tmpl
generated
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
{{.Comment}}
|
||||
func {{.DocInfo.Name}}(t TestingT, {{.Params}}) {
|
||||
if !assert.{{.DocInfo.Name}}(t, {{.ForwardedParams}}) {
|
||||
t.FailNow()
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user