Skip to content

Commit f03823e

Browse files
committed
formatter: self-review #2
1 parent f6bf5ae commit f03823e

File tree

3 files changed

+43
-28
lines changed

3 files changed

+43
-28
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ https://golangci-lint.run/usage/linters/#testifylint
118118
119119
import (
120120
"testing"
121-
121+
122122
_ "github.com/stretchr/testify"
123123
_ "github.com/stretchr/testify/assert"
124124
_ "github.com/stretchr/testify/http"
@@ -411,7 +411,7 @@ and sets the stage for moving to `v2` of `testify`. In this way the checker rese
411411

412412
<details>
413413

414-
<summary>Expand...</summary>
414+
<summary>Click to expand...</summary>
415415

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

607607
```go
608-
assert.Equal(t, nil, eventsChan) // Always fail.
608+
assert.Equal(t, nil, eventsChan) // Always fail.
609609
assert.NotEqual(t, nil, eventsChan) // Always pass.
610610
```
611611

analyzer/testdata/src/checkers-default/blank-import/blank_import_test.go

+37-23
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

analyzer/testdata/src/checkers-default/suite-dont-use-pkg/suite_dont_use_pkg_test.go

+3-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)