From 8b291f3528ca9f1568ff4f4030125f29f7cfec53 Mon Sep 17 00:00:00 2001 From: Dave Henderson Date: Sat, 11 Feb 2017 13:39:27 -0500 Subject: Putting vendor/ in repo Signed-off-by: Dave Henderson --- vendor/github.com/stretchr/testify/assert/errors.go | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 vendor/github.com/stretchr/testify/assert/errors.go (limited to 'vendor/github.com/stretchr/testify/assert/errors.go') 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") -- cgit v1.2.3