aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/github.com/stretchr/testify/assert/assertion_forward.go.tmpl
diff options
context:
space:
mode:
authorEugene Triguba <eugenetriguba@gmail.com>2024-01-01 20:23:56 -0500
committerEugene Triguba <eugenetriguba@gmail.com>2024-01-01 20:23:56 -0500
commitbc346a69c43961e1478ed3acfd80c24d566394bf (patch)
treeac40e3cbd3e915e41d6ba48b23402b376c897c83 /vendor/github.com/stretchr/testify/assert/assertion_forward.go.tmpl
parentUse 14 character long version instead 32 (diff)
downloadcli-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.tmpl5
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}})
+}