diff options
author | Wim <wim@42.be> | 2017-07-25 20:10:40 +0200 |
---|---|---|
committer | Wim <wim@42.be> | 2017-07-25 20:10:40 +0200 |
commit | 3527e09bc5a6d4704f1445d35f90b33e859c23c2 (patch) | |
tree | 223d0a05d54e6e66f32c3ad616acc5cf2ef9f72e /vendor/github.com/stretchr/testify/assert/errors.go | |
parent | ddc5b3268f28d79796c9a776651b0687d22a1775 (diff) | |
download | matterbridge-msglm-3527e09bc5a6d4704f1445d35f90b33e859c23c2.tar.gz matterbridge-msglm-3527e09bc5a6d4704f1445d35f90b33e859c23c2.tar.bz2 matterbridge-msglm-3527e09bc5a6d4704f1445d35f90b33e859c23c2.zip |
Update vendor
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") |