Vendoring testify/require

This commit is contained in:
John Delivuk 2019-02-10 19:04:43 -05:00
parent 6030912cc0
commit b379be6818
No known key found for this signature in database
GPG key ID: 8597474A0655625E
30 changed files with 8737 additions and 191 deletions

10
vendor/github.com/stretchr/testify/assert/errors.go generated vendored Normal file
View file

@ -0,0 +1,10 @@
package assert
import (
"errors"
)
// AnError is an error instance useful for testing. If the code does not care
// about error specifics, and only needs to return the error for example, this
// error should be used to make the test code more readable.
var AnError = errors.New("assert.AnError general error for testing")