Vendor github.com/stretchr/testify for the assert package

This commit is contained in:
Matthias Loibl committed 2016-11-07 23:31:39 +01:00
1 parent 70fb1cf9d1
commit a5d0b4de5b
20 files changed
+4533

No files matched your search

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