Skip to content

Commit

Permalink
🩹 Fix(app_test.go): Use tab for indent instead of spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
grivera64 committed Jan 12, 2025
1 parent d2c3a90 commit 9efc3f0
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions app_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1511,18 +1511,18 @@ func Test_App_Test_timeout_empty_response(t *testing.T) {
}

func Test_App_Test_drop_empty_response(t *testing.T) {
t.Parallel()

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

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

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

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

func Test_App_SetTLSHandler(t *testing.T) {
Expand Down

0 comments on commit 9efc3f0

Please sign in to comment.