summaryrefslogtreecommitdiff
path: root/vendor/github.com/stretchr/testify/require/require_forward.go.tmpl
diff options
context:
space:
mode:
authorAlex Flint <[email protected]>2017-02-15 18:19:41 -0800
committerAlex Flint <[email protected]>2017-02-15 18:19:41 -0800
commit6859799559dab59729eb5fefeb53080db9b92545 (patch)
treedd8a6476af78f555f067c923c815b78844161248 /vendor/github.com/stretchr/testify/require/require_forward.go.tmpl
parent765ccf745937c16486999600ecf789c646ac2e6c (diff)
use go-scalar, vendoring
Diffstat (limited to 'vendor/github.com/stretchr/testify/require/require_forward.go.tmpl')
-rw-r--r--vendor/github.com/stretchr/testify/require/require_forward.go.tmpl4
1 files changed, 4 insertions, 0 deletions
diff --git a/vendor/github.com/stretchr/testify/require/require_forward.go.tmpl b/vendor/github.com/stretchr/testify/require/require_forward.go.tmpl
new file mode 100644
index 0000000..b93569e
--- /dev/null
+++ b/vendor/github.com/stretchr/testify/require/require_forward.go.tmpl
@@ -0,0 +1,4 @@
+{{.CommentWithoutT "a"}}
+func (a *Assertions) {{.DocInfo.Name}}({{.Params}}) {
+ {{.DocInfo.Name}}(a.t, {{.ForwardedParams}})
+}