bump deps, fix clippy warnings

This commit is contained in:
Martin Algesten
2020-03-14 09:46:18 +01:00
parent 3ef304f290
commit 2956683870
4 changed files with 6 additions and 7 deletions

View File

@@ -718,11 +718,9 @@ mod tests {
#[test]
#[cfg(feature = "json")]
fn parse_simple_json() {
let s = format!(
"HTTP/1.1 200 OK\r\n\
let s = "HTTP/1.1 200 OK\r\n\
\r\n\
{{\"hello\":\"world\"}}"
);
{\"hello\":\"world\"}";
let resp = s.parse::<Response>().unwrap();
let v = resp.into_json().unwrap();
let compare = "{\"hello\":\"world\"}"