diff --git a/src/path.rs b/src/path.rs index 161c4dc..5df1472 100644 --- a/src/path.rs +++ b/src/path.rs @@ -176,6 +176,7 @@ mod tests { assert!(path.matches("/abc/wooble/wakka/jkl")); assert!(!path.matches("/nope/ghi/def/jkl")); assert!(!path.matches("/abc/ghi/def/nope")); + assert_eq!(path.params().len(), 2); let mut bt = BTreeMap::new(); bt.insert("def", "wooble");