From c020db8cd21cb221cfbe36b264e0ec02999596ed Mon Sep 17 00:00:00 2001 From: Miloslav Trmač Date: Thu, 19 Jul 2018 02:30:33 +0200 Subject: Abort a test on nil containers, so that future tests don't panic MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Miloslav Trmač Closes: #1111 Approved by: baude --- vendor/github.com/stretchr/testify/require/requirements.go | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 vendor/github.com/stretchr/testify/require/requirements.go (limited to 'vendor/github.com/stretchr/testify/require/requirements.go') diff --git a/vendor/github.com/stretchr/testify/require/requirements.go b/vendor/github.com/stretchr/testify/require/requirements.go new file mode 100644 index 000000000..41147562d --- /dev/null +++ b/vendor/github.com/stretchr/testify/require/requirements.go @@ -0,0 +1,9 @@ +package require + +// TestingT is an interface wrapper around *testing.T +type TestingT interface { + Errorf(format string, args ...interface{}) + FailNow() +} + +//go:generate go run ../_codegen/main.go -output-package=require -template=require.go.tmpl -- cgit v1.2.3-54-g00ecf