Vendor github.com/stretchr/testify for the assert package

This commit is contained in:
Matthias Loibl 2016-11-07 20:31:59 +01:00
parent 70fb1cf9d1
commit a5d0b4de5b
No known key found for this signature in database
GPG key ID: B1C7DF661ABB2C1A
20 changed files with 4533 additions and 0 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")