add library until better solution

This commit is contained in:
Mathieu HANOTAUX
2022-12-04 18:47:13 +01:00
parent f313b478e7
commit c867453ab4
45 changed files with 19449 additions and 0 deletions
+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")