Antonboom / testifylint

The Golang linter that checks usage of github.com/stretchr/testify.
https://github.com/stretchr/testify
MIT License
87 stars 8 forks source link

error-is-as: support assert.NotErrorAs #13

Open Antonboom opened 8 months ago

Antonboom commented 8 months ago
assert.False(t, errors.As(err, &target))

->

assert.NotErrorAs(t, err, &target))

+ NotErrorAs target check

Antonboom commented 8 months ago

Is blocked by https://github.com/stretchr/testify/issues/1066