diff options
| author | Alex Flint <[email protected]> | 2018-11-20 12:09:59 -0800 |
|---|---|---|
| committer | Alex Flint <[email protected]> | 2018-11-20 12:09:59 -0800 |
| commit | d7246f2485afaca12c2d4c1b04aca2e3d4d9a27b (patch) | |
| tree | eac50712b08582067812200c41f0ac9bdb28778a /vendor/github.com/stretchr/testify/assert/assertion_format.go.tmpl | |
| parent | 27a7b2fb3d6b5f628fdd9572b41bf6fb37c37d0c (diff) | |
go mod vendor
Diffstat (limited to 'vendor/github.com/stretchr/testify/assert/assertion_format.go.tmpl')
| -rw-r--r-- | vendor/github.com/stretchr/testify/assert/assertion_format.go.tmpl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/vendor/github.com/stretchr/testify/assert/assertion_format.go.tmpl b/vendor/github.com/stretchr/testify/assert/assertion_format.go.tmpl new file mode 100644 index 0000000..d2bb0b8 --- /dev/null +++ b/vendor/github.com/stretchr/testify/assert/assertion_format.go.tmpl @@ -0,0 +1,5 @@ +{{.CommentFormat}} +func {{.DocInfo.Name}}f(t TestingT, {{.ParamsFormat}}) bool { + if h, ok := t.(tHelper); ok { h.Helper() } + return {{.DocInfo.Name}}(t, {{.ForwardedParamsFormat}}) +} |
