This commit is contained in:
2026-08-04 12:50:20 +05:00
parent 4194cef934
commit 363127fe9e
3350 changed files with 1284220 additions and 1 deletions

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