From 074e17cef3fd85e43623cec685fb41806b25d12e Mon Sep 17 00:00:00 2001 From: Alex Flint Date: Mon, 19 Nov 2018 19:11:23 -0800 Subject: add vendor --- vendor/github.com/stretchr/testify/require/require.go.tmpl | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 vendor/github.com/stretchr/testify/require/require.go.tmpl (limited to 'vendor/github.com/stretchr/testify/require/require.go.tmpl') diff --git a/vendor/github.com/stretchr/testify/require/require.go.tmpl b/vendor/github.com/stretchr/testify/require/require.go.tmpl new file mode 100644 index 0000000..6ffc751 --- /dev/null +++ b/vendor/github.com/stretchr/testify/require/require.go.tmpl @@ -0,0 +1,6 @@ +{{.Comment}} +func {{.DocInfo.Name}}(t TestingT, {{.Params}}) { + if assert.{{.DocInfo.Name}}(t, {{.ForwardedParams}}) { return } + if h, ok := t.(tHelper); ok { h.Helper() } + t.FailNow() +} -- cgit v1.2.3