remove print in test

This commit is contained in:
jdeepee 2020-11-27 14:30:39 +00:00
parent bdd44206b0
commit 97a7d951cd
1 changed files with 0 additions and 1 deletions

View File

@ -682,7 +682,6 @@ mod tests {
App::new() App::new()
.service(web::scope("/user").service(web::scope("/{id}").service( .service(web::scope("/user").service(web::scope("/{id}").service(
web::resource("").to(move |req: HttpRequest| { web::resource("").to(move |req: HttpRequest| {
println!("req: {:#?}", req.resource_map());
assert_eq!(req.match_pattern(), Some("/user/{id}".to_owned())); assert_eq!(req.match_pattern(), Some("/user/{id}".to_owned()));
HttpResponse::Ok().finish() HttpResponse::Ok().finish()