Skip to content

Commit

Permalink
🩹 Fix(app_test.go): Fix to respect gofmt linter
Browse files Browse the repository at this point in the history
  • Loading branch information
grivera64 committed Jan 12, 2025
1 parent 9efc3f0 commit dd183b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1514,12 +1514,12 @@ func Test_App_Test_drop_empty_response(t *testing.T) {
t.Parallel()

app := New()
app.Get("/", func (c Ctx) error {
app.Get("/", func(c Ctx) error {
return c.Drop()
})

_, err := app.Test(httptest.NewRequest(MethodGet, "/", nil), TestConfig{
Timeout: 0,
Timeout: 0,
FailOnTimeout: false,
})
require.ErrorIs(t, err, ErrTestGotEmptyResponse)
Expand Down

0 comments on commit dd183b5

Please sign in to comment.