Skip to content

Commit

Permalink
add sub-delim path tests (#34)
Browse files Browse the repository at this point in the history
excluded `*` since it is known to not be supported yet, see #23.
  • Loading branch information
kriswuollett authored Jul 28, 2023
1 parent 93ce8c1 commit 6c58479
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion tests/tree.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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 = [
Expand Down

0 comments on commit 6c58479

Please sign in to comment.