Skip to content

Commit

Permalink
Add t.Helper() call
Browse files Browse the repository at this point in the history
  • Loading branch information
jtraglia committed Sep 25, 2024
1 parent 26cea10 commit dc8c351
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/service_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ func TestWebserverMaxHeaderSize(t *testing.T) {
addr := "localhost:1234"
backend.boost.listenAddr = addr
go func() {
t.Helper()
err := backend.boost.StartHTTPServer()
require.NoError(t, err)

Check failure on line 192 in server/service_test.go

View workflow job for this annotation

GitHub Actions / Lint

go-require: require must only be used in the goroutine running the test function (testifylint)
}()
Expand Down

0 comments on commit dc8c351

Please sign in to comment.