From 58a7de2aeae7ca08fc886d3586ee077094a9bc6c Mon Sep 17 00:00:00 2001 From: Ethan Koenig Date: Sun, 10 Dec 2017 18:23:34 -0800 Subject: Update code.gitea.io/git (#3137) --- 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 0000000000..d2c38f6f28 --- /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}}) { + t.FailNow() + } +} -- cgit v1.2.3