Fix formatting and shaving lints

This commit is contained in:
Andrey "MOU" Larionov 2022-10-13 15:35:31 +02:00
parent b69f8d67c3
commit 2dce44f4c1
No known key found for this signature in database
GPG key ID: 5FF293FC94C01D6A
3 changed files with 12 additions and 15 deletions

View file

@ -72,7 +72,7 @@ async fn create_index_with_gzip_encoded_request_and_receiving_brotli_encoded_res
let bytes = test::read_body(res).await;
let decoded = Encoder::Brotli.decode(bytes);
let parsed_response =
serde_json::from_slice::<Value>(&decoded.into().as_ref()).expect("Expecting valid json");
serde_json::from_slice::<Value>(decoded.into().as_ref()).expect("Expecting valid json");
assert_eq!(parsed_response["taskUid"], 0);
assert_eq!(parsed_response["indexUid"], "test");