add test to utils package

This commit is contained in:
Anthony HAMON 2018-08-19 08:51:37 +02:00
parent 81b07daa01
commit f91b4067f4
12 changed files with 3979 additions and 106 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")