summaryrefslogtreecommitdiff
path: root/vendor/github.com/stretchr/testify/require/requirements.go
diff options
context:
space:
mode:
authorAlex Flint <[email protected]>2021-04-19 21:48:46 -0700
committerGitHub <[email protected]>2021-04-19 21:48:46 -0700
commitca571db22112d80c3dad1ec372ec9f3a3c435c7c (patch)
tree210b986c13f132b8ffc2936a415a533e93f81989 /vendor/github.com/stretchr/testify/require/requirements.go
parent6638fbbc28f9ad0136ef5fd84a15c995e08e161f (diff)
parent876daa8e7c3b847d38dee7cbdcb2fe93f77700d5 (diff)
Merge pull request #4 from alexflint/drop-vendor
Drop vendor directory
Diffstat (limited to 'vendor/github.com/stretchr/testify/require/requirements.go')
-rw-r--r--vendor/github.com/stretchr/testify/require/requirements.go29
1 files changed, 0 insertions, 29 deletions
diff --git a/vendor/github.com/stretchr/testify/require/requirements.go b/vendor/github.com/stretchr/testify/require/requirements.go
deleted file mode 100644
index 690583a..0000000
--- a/vendor/github.com/stretchr/testify/require/requirements.go
+++ /dev/null
@@ -1,29 +0,0 @@
-package require
-
-// TestingT is an interface wrapper around *testing.T
-type TestingT interface {
- Errorf(format string, args ...interface{})
- FailNow()
-}
-
-type tHelper interface {
- Helper()
-}
-
-// ComparisonAssertionFunc is a common function prototype when comparing two values. Can be useful
-// for table driven tests.
-type ComparisonAssertionFunc func(TestingT, interface{}, interface{}, ...interface{})
-
-// ValueAssertionFunc is a common function prototype when validating a single value. Can be useful
-// for table driven tests.
-type ValueAssertionFunc func(TestingT, interface{}, ...interface{})
-
-// BoolAssertionFunc is a common function prototype when validating a bool value. Can be useful
-// for table driven tests.
-type BoolAssertionFunc func(TestingT, bool, ...interface{})
-
-// ValuesAssertionFunc is a common function prototype when validating an error value. Can be useful
-// for table driven tests.
-type ErrorAssertionFunc func(TestingT, error, ...interface{})
-
-//go:generate go run ../_codegen/main.go -output-package=require -template=require.go.tmpl -include-format-funcs