mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-11-22 04:36:32 +00:00
Clippy happy
This commit is contained in:
@@ -516,7 +516,7 @@ async fn issue_5976_missing_docs_hf() {
|
|||||||
let are_empty: Vec<_> = response["hits"]
|
let are_empty: Vec<_> = response["hits"]
|
||||||
.as_array()
|
.as_array()
|
||||||
.unwrap()
|
.unwrap()
|
||||||
.into_iter()
|
.iter()
|
||||||
.map(|hit| hit["_vectors"]["default"]["embeddings"].as_array().unwrap().is_empty())
|
.map(|hit| hit["_vectors"]["default"]["embeddings"].as_array().unwrap().is_empty())
|
||||||
.collect();
|
.collect();
|
||||||
snapshot!(json!(are_empty), @r###"
|
snapshot!(json!(are_empty), @r###"
|
||||||
|
|||||||
Reference in New Issue
Block a user