mirror of https://github.com/fafhrd91/actix-web
fmt
This commit is contained in:
parent
a8b1564e93
commit
398ef62e8f
|
@ -482,10 +482,7 @@ mod tests {
|
||||||
|
|
||||||
let req = TestRequest::default().rmap(rmap).to_http_request();
|
let req = TestRequest::default().rmap(rmap).to_http_request();
|
||||||
let route_name = req.0.rmap.match_name("/index.html");
|
let route_name = req.0.rmap.match_name("/index.html");
|
||||||
assert_eq!(
|
assert_eq!(route_name.unwrap(), "index".to_owned());
|
||||||
route_name.unwrap(),
|
|
||||||
"index".to_owned()
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
|
Loading…
Reference in New Issue