Closed aldas closed 6 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 93.03%. Comparing base (
d549290
) to head (65d0914
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
When route is registered with empty path it is normalized to
/
. Make sure that returned echo.Route structs reflect that behavior. Internally router has changed` (empty path) to
/for a long time but Route that is returned did not reflect that. Is is problematic with
Reverse` function that uses empty string as "not found"Related to #2615
Previous behavior can be seen with this test:
whis this change
assert.Equal(t, "", existingEmpty)
shoulb be change toassert.Equal(t, "/", existingEmpty)
to pass the test