mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-07-28 01:01:00 +00:00
Fix clippy errors
This commit is contained in:
@ -14,7 +14,7 @@ async fn stats() {
|
||||
|
||||
assert_eq!(code, 200);
|
||||
assert_eq!(response["numberOfDocuments"], 0);
|
||||
assert_eq!(response["isIndexing"], false);
|
||||
assert!(response["isIndexing"] == false);
|
||||
assert!(response["fieldsDistribution"]
|
||||
.as_object()
|
||||
.unwrap()
|
||||
@ -41,7 +41,7 @@ async fn stats() {
|
||||
|
||||
assert_eq!(code, 200);
|
||||
assert_eq!(response["numberOfDocuments"], 2);
|
||||
assert_eq!(response["isIndexing"], false);
|
||||
assert!(response["isIndexing"] == false);
|
||||
assert_eq!(response["fieldsDistribution"]["id"], 2);
|
||||
assert_eq!(response["fieldsDistribution"]["name"], 1);
|
||||
assert_eq!(response["fieldsDistribution"]["age"], 1);
|
||||
|
Reference in New Issue
Block a user