mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-03 11:57:07 +02:00
optimize test suite
This commit is contained in:
parent
5da92a3d53
commit
1f5412003d
2 changed files with 15 additions and 15 deletions
|
@ -1777,7 +1777,7 @@ async fn add_documents_with_geo_field() {
|
|||
},
|
||||
{
|
||||
"id": "4",
|
||||
"_geo": { "lat": "1", "lng": "1" },
|
||||
"_geo": { "lat": "2", "lng": "2" },
|
||||
},
|
||||
]);
|
||||
|
||||
|
@ -1828,8 +1828,8 @@ async fn add_documents_with_geo_field() {
|
|||
{
|
||||
"id": "4",
|
||||
"_geo": {
|
||||
"lat": "1",
|
||||
"lng": "1"
|
||||
"lat": "2",
|
||||
"lng": "2"
|
||||
}
|
||||
}
|
||||
],
|
||||
|
@ -1848,14 +1848,6 @@ async fn add_documents_with_geo_field() {
|
|||
@r###"
|
||||
{
|
||||
"hits": [
|
||||
{
|
||||
"id": "4",
|
||||
"_geo": {
|
||||
"lat": "1",
|
||||
"lng": "1"
|
||||
},
|
||||
"_geoDistance": 5522018
|
||||
},
|
||||
{
|
||||
"id": "3",
|
||||
"_geo": {
|
||||
|
@ -1864,6 +1856,14 @@ async fn add_documents_with_geo_field() {
|
|||
},
|
||||
"_geoDistance": 5522018
|
||||
},
|
||||
{
|
||||
"id": "4",
|
||||
"_geo": {
|
||||
"lat": "2",
|
||||
"lng": "2"
|
||||
},
|
||||
"_geoDistance": 5408322
|
||||
},
|
||||
{
|
||||
"id": "1"
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue