Skip to content

Commit

Permalink
fix trailing slash tests on current HEAD
Browse files Browse the repository at this point in the history
  • Loading branch information
skirsdeda committed Feb 18, 2024
1 parent 44c77e8 commit cf7e1e1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion router/tests/trailing_slashes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@ fn trailing_slashes_match_exactly() {
assert_matches(&matcher, "/");
}

#[cfg(feature = "ssr")]
#[test]
fn trailng_slashes_params_match_exactly() {
fn trailing_slashes_params_match_exactly() {
let matcher = Matcher::new("/foo/:bar/");
assert_matches(&matcher, "/foo/bar/");
assert_matches(&matcher, "/foo/42/");
Expand Down

0 comments on commit cf7e1e1

Please sign in to comment.