Skip to content

Commit

Permalink
temporarily stop doing t.Parallel for tests with panic (#350)
Browse files Browse the repository at this point in the history
  • Loading branch information
maditya authored Jan 3, 2024
1 parent 1dc77e0 commit 1b640f5
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions api/log_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,6 @@ func TestLogWithCheckingPanic(t *testing.T) {
// https://github.com/golang/go/wiki/CommonMistakes#using-goroutines-on-loop-iterator-variables
tc := tc
t.Run(tc.name, func(t *testing.T) {
t.Parallel()

got := ""
f := func(statusCode int, err error) {
got = fmt.Sprintf(logStr, statusCode, err)
Expand Down

0 comments on commit 1b640f5

Please sign in to comment.