summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/stretchr/testify/assert/errors.go
diff options
context:
space:
mode:
authorWim <wim@42.be>2017-07-25 20:10:40 +0200
committerWim <wim@42.be>2017-07-25 20:10:40 +0200
commit3527e09bc5a6d4704f1445d35f90b33e859c23c2 (patch)
tree223d0a05d54e6e66f32c3ad616acc5cf2ef9f72e /vendor/github.com/stretchr/testify/assert/errors.go
parentddc5b3268f28d79796c9a776651b0687d22a1775 (diff)
downloadmatterbridge-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.go10
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")