Skip to content

Commit

Permalink
formatter: self-review #2
Browse files Browse the repository at this point in the history
  • Loading branch information
Antonboom committed Jun 4, 2024
1 parent f6bf5ae commit f03823e
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 28 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ https://golangci-lint.run/usage/linters/#testifylint
import (
"testing"

_ "github.com/stretchr/testify"
_ "github.com/stretchr/testify/assert"
_ "github.com/stretchr/testify/http"
Expand Down Expand Up @@ -411,7 +411,7 @@ and sets the stage for moving to `v2` of `testify`. In this way the checker rese

<details>

<summary>Expand...</summary>
<summary>Click to expand...</summary>

<br>
Those who are new to `testify` may be discouraged by the duplicative API:
Expand Down Expand Up @@ -605,7 +605,7 @@ assert.NotNil(t, value)
Using untyped `nil` in the functions above along with a non-interface type does not make sense:

```go
assert.Equal(t, nil, eventsChan) // Always fail.
assert.Equal(t, nil, eventsChan) // Always fail.
assert.NotEqual(t, nil, eventsChan) // Always pass.
```

Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f03823e

Please sign in to comment.