Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
knusbaum committed Dec 8, 2022
1 parent be36744 commit 649a37b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contrib/labstack/echo/echotrace_test.go
Expand Up @@ -251,15 +251,15 @@ func TestStatusError(t *testing.T) {
return echo.NewHTTPError(http.StatusBadRequest, "my error message")
},
},
{ //03
{
isStatusError: func(statusCode int) bool { return statusCode >= 400 && statusCode < 500 },
err: nil,
code: "500",
handler: func(c echo.Context) error {
return errors.New("oh no")
},
},
{ //04
{
isStatusError: func(statusCode int) bool { return statusCode >= 400 && statusCode < 500 },
err: nil,
code: "500",
Expand Down

0 comments on commit 649a37b

Please sign in to comment.