aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/github.com/stretchr/testify/require/require_forward.go.tmpl
diff options
context:
space:
mode:
authorRobert Zaremba <robert.zaremba@scale-it.pl>2017-11-10 09:54:48 +0800
committerRobert Zaremba <robert.zaremba@scale-it.pl>2017-11-11 07:29:41 +0800
commit5d895db2fd9e6c381f5696f84b1b64d21df9d337 (patch)
treee20a12d9f2b1290145e4dcea2c4fece1b43b6824 /vendor/github.com/stretchr/testify/require/require_forward.go.tmpl
parent3d88ecd61ae7b43f1227acafaec71e49093491b8 (diff)
downloadgo-tangerine-5d895db2fd9e6c381f5696f84b1b64d21df9d337.tar
go-tangerine-5d895db2fd9e6c381f5696f84b1b64d21df9d337.tar.gz
go-tangerine-5d895db2fd9e6c381f5696f84b1b64d21df9d337.tar.bz2
go-tangerine-5d895db2fd9e6c381f5696f84b1b64d21df9d337.tar.lz
go-tangerine-5d895db2fd9e6c381f5696f84b1b64d21df9d337.tar.xz
go-tangerine-5d895db2fd9e6c381f5696f84b1b64d21df9d337.tar.zst
go-tangerine-5d895db2fd9e6c381f5696f84b1b64d21df9d337.zip
vendor: add github.com/stretchr/testify test dependency
github.com/stretchr/testify is a useful library for doing assertion in tests. It makes assertions in test more less verbose and more comfortable to read and use.
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 000000000..b93569e0a
--- /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}})
+}