diff options
| author | Dave Henderson <dhenderson@gmail.com> | 2017-02-11 13:39:27 -0500 |
|---|---|---|
| committer | Dave Henderson <dhenderson@gmail.com> | 2017-02-11 14:01:02 -0500 |
| commit | 8b291f3528ca9f1568ff4f4030125f29f7cfec53 (patch) | |
| tree | 1bd579e9072bf22e5eee16a036ab43300d2d5fdc /vendor/github.com/stretchr/testify/assert/errors.go | |
| parent | 684bbe1a9e45a56dbd826e529fb2d66757fc62e6 (diff) | |
Putting vendor/ in repo
Signed-off-by: Dave Henderson <dhenderson@gmail.com>
Diffstat (limited to 'vendor/github.com/stretchr/testify/assert/errors.go')
| -rw-r--r-- | vendor/github.com/stretchr/testify/assert/errors.go | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/vendor/github.com/stretchr/testify/assert/errors.go b/vendor/github.com/stretchr/testify/assert/errors.go new file mode 100644 index 00000000..ac9dc9d1 --- /dev/null +++ b/vendor/github.com/stretchr/testify/assert/errors.go @@ -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") |
