diff options
| author | Eugene Triguba <eugenetriguba@gmail.com> | 2024-01-01 20:23:56 -0500 |
|---|---|---|
| committer | Eugene Triguba <eugenetriguba@gmail.com> | 2024-01-01 20:23:56 -0500 |
| commit | bc346a69c43961e1478ed3acfd80c24d566394bf (patch) | |
| tree | ac40e3cbd3e915e41d6ba48b23402b376c897c83 /vendor/github.com/stretchr/testify/assert/assertion_forward.go.tmpl | |
| parent | Use 14 character long version instead 32 (diff) | |
| download | cli-bc346a69c43961e1478ed3acfd80c24d566394bf.zip | |
Add migration tests
Diffstat (limited to 'vendor/github.com/stretchr/testify/assert/assertion_forward.go.tmpl')
| -rw-r--r-- | vendor/github.com/stretchr/testify/assert/assertion_forward.go.tmpl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/vendor/github.com/stretchr/testify/assert/assertion_forward.go.tmpl b/vendor/github.com/stretchr/testify/assert/assertion_forward.go.tmpl new file mode 100644 index 0000000..188bb9e --- /dev/null +++ b/vendor/github.com/stretchr/testify/assert/assertion_forward.go.tmpl @@ -0,0 +1,5 @@ +{{.CommentWithoutT "a"}} +func (a *Assertions) {{.DocInfo.Name}}({{.Params}}) bool { + if h, ok := a.t.(tHelper); ok { h.Helper() } + return {{.DocInfo.Name}}(a.t, {{.ForwardedParams}}) +} |