Files
open-cluster-management/vendor/github.com/stretchr/testify/assert/errors.go
Min Kim 892a6ea782 V1beta1 CSR compatibility (#214)
* [generated] go mod tidy/vendor

Signed-off-by: yue9944882 <291271447@qq.com>

* feature-gate: V1beta1CSRAPICompatibility

Signed-off-by: yue9944882 <291271447@qq.com>
2022-03-23 04:41:00 +01: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")