From 3935a5e193e219667c1c537b184c5b45cf669781 Mon Sep 17 00:00:00 2001 From: Kristopher Wuollett Date: Fri, 28 Jul 2023 13:24:52 -0500 Subject: [PATCH] Add sub-delim path tests Excluded '*' since it is known to not be supported yet. --- tests/tree.rs | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/tests/tree.rs b/tests/tree.rs index 358b3a8..e50d112 100644 --- a/tests/tree.rs +++ b/tests/tree.rs @@ -27,6 +27,16 @@ match_tests! { "/doc/rust1.26.html", "/ʯ", "/β", + "/sd!here", + "/sd$here", + "/sd&here", + "/sd'here", + "/sd(here", + "/sd)here", + "/sd+here", + "/sd,here", + "/sd;here", + "/sd=here", ], "/a" :: "/a" => {}, "" :: "/" => None, @@ -38,7 +48,17 @@ match_tests! { "" :: "/no" => None, "/ab" :: "/ab" => {}, "/ʯ" :: "/ʯ" => {}, - "/β" :: "/β" => {} + "/β" :: "/β" => {}, + "/sd!here" :: "/sd!here" => {}, + "/sd$here" :: "/sd$here" => {}, + "/sd&here" :: "/sd&here" => {}, + "/sd'here" :: "/sd'here" => {}, + "/sd(here" :: "/sd(here" => {}, + "/sd)here" :: "/sd)here" => {}, + "/sd+here" :: "/sd+here" => {}, + "/sd,here" :: "/sd,here" => {}, + "/sd;here" :: "/sd;here" => {}, + "/sd=here" :: "/sd=here" => {}, }, wildcard { routes = [