mirror of
https://github.com/fafhrd91/actix-web
synced 2025-08-30 16:40:21 +02:00
add variable segments support for scope prefix
This commit is contained in:
@@ -850,7 +850,7 @@ mod tests {
|
||||
}
|
||||
|
||||
macro_rules! from {
|
||||
($from: expr => $error: pat) => {
|
||||
($from:expr => $error:pat) => {
|
||||
match ParseError::from($from) {
|
||||
e @ $error => {
|
||||
assert!(format!("{}", e).len() >= 5);
|
||||
@@ -861,7 +861,7 @@ mod tests {
|
||||
}
|
||||
|
||||
macro_rules! from_and_cause {
|
||||
($from: expr => $error: pat) => {
|
||||
($from:expr => $error:pat) => {
|
||||
match ParseError::from($from) {
|
||||
e @ $error => {
|
||||
let desc = format!("{}", e.cause().unwrap());
|
||||
|
Reference in New Issue
Block a user