From cf7e1e119b6831cd19930089860286fd7b1b18b7 Mon Sep 17 00:00:00 2001 From: Tadas Dailyda Date: Sun, 18 Feb 2024 20:31:35 +0200 Subject: [PATCH] fix trailing slash tests on current HEAD --- router/tests/trailing_slashes.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/router/tests/trailing_slashes.rs b/router/tests/trailing_slashes.rs index eaa6642b6f..9d85f02265 100644 --- a/router/tests/trailing_slashes.rs +++ b/router/tests/trailing_slashes.rs @@ -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/");