1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-06-25 06:39:22 +02:00

update tests; clippy warnings

This commit is contained in:
Nikolay Kim
2017-10-29 15:04:44 -07:00
parent 6b2248ecdf
commit 8ab04b39df
4 changed files with 49 additions and 48 deletions

View File

@ -73,7 +73,7 @@ fn test_request_query() {
assert_eq!(req.query_string(), "id=test");
let query = req.query();
assert_eq!(query.get("id").unwrap(), "test");
assert_eq!(&query["id"], "test");
}
#[test]