summaryrefslogtreecommitdiff
path: root/vendor/github.com/stretchr/testify/require/requirements.go
diff options
context:
space:
mode:
authorMiloslav Trmač <mitr@redhat.com>2018-07-19 02:30:33 +0200
committerAtomic Bot <atomic-devel@projectatomic.io>2018-07-19 16:12:49 +0000
commitc020db8cd21cb221cfbe36b264e0ec02999596ed (patch)
tree4c841f45838a20d21f64c3d2c29c530ef2a5cc88 /vendor/github.com/stretchr/testify/require/requirements.go
parentcedb4576a4481bc45b0008e7a0c8da0a1f8f858f (diff)
downloadpodman-c020db8cd21cb221cfbe36b264e0ec02999596ed.tar.gz
podman-c020db8cd21cb221cfbe36b264e0ec02999596ed.tar.bz2
podman-c020db8cd21cb221cfbe36b264e0ec02999596ed.zip
Abort a test on nil containers, so that future tests don't panic
Signed-off-by: Miloslav Trmač <mitr@redhat.com> Closes: #1111 Approved by: baude
Diffstat (limited to 'vendor/github.com/stretchr/testify/require/requirements.go')
-rw-r--r--vendor/github.com/stretchr/testify/require/requirements.go9
1 files changed, 9 insertions, 0 deletions
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