From d450c7a883876e0f5356fb5cb54109a0a2a77dfd Mon Sep 17 00:00:00 2001 From: Michael Muré Date: Sat, 29 Sep 2018 21:09:09 +0200 Subject: use more testify, fix unchecked errors --- vendor/github.com/stretchr/testify/assert/assertion_format.go.tmpl | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 vendor/github.com/stretchr/testify/assert/assertion_format.go.tmpl (limited to 'vendor/github.com/stretchr/testify/assert/assertion_format.go.tmpl') 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 00000000..d2bb0b81 --- /dev/null +++ b/vendor/github.com/stretchr/testify/assert/assertion_format.go.tmpl @@ -0,0 +1,5 @@ +{{.CommentFormat}} +func {{.DocInfo.Name}}f(t TestingT, {{.ParamsFormat}}) bool { + if h, ok := t.(tHelper); ok { h.Helper() } + return {{.DocInfo.Name}}(t, {{.ForwardedParamsFormat}}) +} -- cgit