diff options
author | Robert Zaremba <robert.zaremba@scale-it.pl> | 2017-11-10 09:54:48 +0800 |
---|---|---|
committer | Robert Zaremba <robert.zaremba@scale-it.pl> | 2017-11-11 07:29:41 +0800 |
commit | 5d895db2fd9e6c381f5696f84b1b64d21df9d337 (patch) | |
tree | e20a12d9f2b1290145e4dcea2c4fece1b43b6824 /vendor/github.com/stretchr/testify/require/requirements.go | |
parent | 3d88ecd61ae7b43f1227acafaec71e49093491b8 (diff) | |
download | go-tangerine-5d895db2fd9e6c381f5696f84b1b64d21df9d337.tar.gz go-tangerine-5d895db2fd9e6c381f5696f84b1b64d21df9d337.tar.zst go-tangerine-5d895db2fd9e6c381f5696f84b1b64d21df9d337.zip |
vendor: add github.com/stretchr/testify test dependency
github.com/stretchr/testify is a useful library for doing
assertion in tests. It makes assertions in test more less verbose and
more comfortable to read and use.
Diffstat (limited to 'vendor/github.com/stretchr/testify/require/requirements.go')
-rw-r--r-- | vendor/github.com/stretchr/testify/require/requirements.go | 9 |
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..e404f016d --- /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 -include-format-funcs |