-
```go
assert.False(t, errors.As(err, &target))
```
->
```go
assert.NotErrorAs(t, err, &target))
```
\+ `NotErrorAs` target check
-
Quite often I've come to see "bad" dependencies being used in code to solve problems, that are already solved via different dependencies in the larger part of the codebase.
It would really help to ha…
-
### Is your task related to a problem? Please describe.
Currently, we are using a lot of code in the unit tests for evaluating outcomes in our unit tests, such as `reflect.DeepEqual` in `if/else` …
-
https://github.com/stretchr/testify/blob/master/assert/assertions.go#L1654
```
// DisableMethods specifies whether or not error and Stringer interfaces are
// invoked for types that implement the…
-
Consider bolstering the section as noted in the shot.
![3-7-2014 11-19-01 pm](https://f.cloud.github.com/assets/1242423/2364851/bcca0d3e-a692-11e3-97aa-7df30d4f35b8.jpg)
-
## Description
The error docs read:
```go
// Error asserts that a function returned an error (i.e. not `nil`).
//
// actualObj, err := SomeFunction()
// if assert.Error(t, err) {
…
andig updated
2 weeks ago
-
Running `testifylint` on a large codebase at work I noticed that suits are not consistently named. It would be useful if `testifylint` detected this and enforced usage of either `(suite *TestSuite)` o…
-
### Failing test case
TestFakeInputSuite/TestManager_Shipper
### Error message
race detected during execution of test
### Build
https://buildkite.com/elastic/elastic-agent/builds/8204#018ebe96-b4…
rdner updated
2 months ago
-
This issue lists Renovate updates and detected dependencies. Read the [Dependency Dashboard](https://docs.renovatebot.com/key-concepts/dashboard/) docs to learn more.
## Open
These updates have all …
-
This issue lists Renovate updates and detected dependencies. Read the [Dependency Dashboard](https://docs.renovatebot.com/key-concepts/dashboard/) docs to learn more.
## Open
These updates have all …