mirror of
				https://github.com/meilisearch/meilisearch.git
				synced 2025-10-30 23:46:28 +00:00 
			
		
		
		
	fmt
This commit is contained in:
		| @@ -1,7 +1,8 @@ | ||||
| use crate::search::insert_geo_distance; | ||||
| use meilisearch_types::Document; | ||||
| use serde_json::json; | ||||
|  | ||||
| use crate::search::insert_geo_distance; | ||||
|  | ||||
| #[test] | ||||
| fn test_insert_geo_distance() { | ||||
|     let value: Document = serde_json::from_str( | ||||
| @@ -110,4 +111,4 @@ fn test_insert_geo_distance_with_coords_as_string() { | ||||
|     let mut document = value.clone(); | ||||
|     insert_geo_distance(sorters, &mut document); | ||||
|     assert_eq!(document.get("_geoDistance"), Some(&json!(0))); | ||||
| } | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user