1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-05-11 05:55:29 +00:00

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
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")