mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 20:37:15 +02:00
Fixes error message when lat/lng are unparseable
This commit is contained in:
parent
497187083b
commit
a2cd7214f0
2 changed files with 10 additions and 5 deletions
|
@ -2321,9 +2321,7 @@ pub(crate) mod tests {
|
|||
.unwrap_err();
|
||||
assert!(matches!(
|
||||
err1,
|
||||
Error::UserError(UserError::InvalidGeoField(
|
||||
GeoError::BadLatitudeAndLongitude { .. }
|
||||
))
|
||||
Error::UserError(UserError::InvalidGeoField(GeoError::BadLatitudeAndLongitude { .. }))
|
||||
));
|
||||
|
||||
db_snap!(index, geo_faceted_documents_ids); // ensure that no more document was inserted
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue