aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/github.com/stretchr/testify/assert/assertion_format.go.tmpl
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2017-11-13 20:23:38 +0800
committerGitHub <noreply@github.com>2017-11-13 20:23:38 +0800
commit9b97f9833419f5f543652d195ed7e86859b194cd (patch)
treeab0fe148718896c715c882ba24fac0097a0b95c0 /vendor/github.com/stretchr/testify/assert/assertion_format.go.tmpl
parent836314c055bebed671a392a0cf8202e57efceb41 (diff)
parent5d895db2fd9e6c381f5696f84b1b64d21df9d337 (diff)
downloaddexon-9b97f9833419f5f543652d195ed7e86859b194cd.tar
dexon-9b97f9833419f5f543652d195ed7e86859b194cd.tar.gz
dexon-9b97f9833419f5f543652d195ed7e86859b194cd.tar.bz2
dexon-9b97f9833419f5f543652d195ed7e86859b194cd.tar.lz
dexon-9b97f9833419f5f543652d195ed7e86859b194cd.tar.xz
dexon-9b97f9833419f5f543652d195ed7e86859b194cd.tar.zst
dexon-9b97f9833419f5f543652d195ed7e86859b194cd.zip
Merge pull request #15457 from robert-zaremba/testify
vendor: add github.com/stretchr/testify test dependency
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.tmpl4
1 files changed, 4 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 000000000..c5cc66f43
--- /dev/null
+++ b/vendor/github.com/stretchr/testify/assert/assertion_format.go.tmpl
@@ -0,0 +1,4 @@
+{{.CommentFormat}}
+func {{.DocInfo.Name}}f(t TestingT, {{.ParamsFormat}}) bool {
+ return {{.DocInfo.Name}}(t, {{.ForwardedParamsFormat}})
+}