Update milli version to v0.5.0

This commit is contained in:
Clémentine Urquizar 2021-06-21 16:59:27 +02:00 committed by Tamo
parent 25af262e79
commit 2e3d85c31a
No known key found for this signature in database
GPG key ID: 20CD8020AFA88D69
6 changed files with 48 additions and 48 deletions

View file

@ -67,7 +67,7 @@ async fn stats() {
assert!(response.get("lastUpdate").is_some());
assert_eq!(response["indexes"]["test"]["numberOfDocuments"], 2);
assert!(response["indexes"]["test"]["isIndexing"] == false);
assert_eq!(response["indexes"]["test"]["fieldsDistribution"]["id"], 2);
assert_eq!(response["indexes"]["test"]["fieldsDistribution"]["name"], 1);
assert_eq!(response["indexes"]["test"]["fieldsDistribution"]["age"], 1);
assert_eq!(response["indexes"]["test"]["fieldDistribution"]["id"], 2);
assert_eq!(response["indexes"]["test"]["fieldDistribution"]["name"], 1);
assert_eq!(response["indexes"]["test"]["fieldDistribution"]["age"], 1);
}