Skip to content

Commit a40fba8

Browse files
committed
wire: re-enable t.Parallel on TestIDEncode
1 parent 83b5a72 commit a40fba8

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

.golangci.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -198,8 +198,3 @@ issues:
198198
# goroutine
199199
- path: handler.go
200200
text: "Error return value of `handler` is not checked"
201-
# TODO(zchee): investigate why fail
202-
- path: wire_test.go
203-
text: "TestIDEncode's subtests should call t.Parallel"
204-
linters:
205-
- tparallel

wire_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@ func TestIDEncode(t *testing.T) {
6565
for _, tt := range wireIDTestData {
6666
tt := tt
6767
t.Run(tt.name, func(t *testing.T) {
68+
t.Parallel()
69+
6870
data, err := json.MarshalNoEscape(&tt.id)
6971
if err != nil {
7072
t.Fatal(err)

0 commit comments

Comments
 (0)