Files
relspecgo/vendor/github.com/stretchr/testify/assert/errors.go
Hein acedc4d4df
Some checks failed
CI / Test (1.24) (push) Successful in -24m9s
CI / Test (1.23) (push) Failing after -23m29s
CI / Lint (push) Failing after -26m28s
CI / Build (push) Successful in -25m47s
CI / Test (1.25) (push) Successful in -24m52s
Saved vendor libs
2025-12-18 22:34:37 +02:00

11 lines
326 B
Go

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