Skip to content

Commit

Permalink
🎨 Styles: Update app.go to respect linter
Browse files Browse the repository at this point in the history
  • Loading branch information
grivera64 committed Oct 9, 2024
1 parent 6112c04 commit 4a97d7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.go
Original file line number Diff line number Diff line change
Expand Up @@ -957,7 +957,7 @@ func (app *App) Test(req *http.Request, config ...TestConfig) (*http.Response, e
res, err := http.ReadResponse(buffer, req)
if err != nil {
if errors.Is(err, io.ErrUnexpectedEOF) {
return nil, fmt.Errorf("test: got empty response")
return nil, errors.New("test: got empty response")
}
return nil, fmt.Errorf("failed to read response: %w", err)
}
Expand Down

0 comments on commit 4a97d7b

Please sign in to comment.