mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-03 20:07:09 +02:00
Fix formatting and shaving lints
This commit is contained in:
parent
b69f8d67c3
commit
2dce44f4c1
3 changed files with 12 additions and 15 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue