mirror of
				https://github.com/meilisearch/meilisearch.git
				synced 2025-10-31 07:56:28 +00:00 
			
		
		
		
	add obkv document serialization test
This commit is contained in:
		| @@ -230,4 +230,12 @@ mod test { | ||||
|         let nested: Value = serde_json::from_slice(doc.get(0).unwrap()).unwrap(); | ||||
|         assert_eq!(nested, json!({ "toto": ["hello"] })); | ||||
|     } | ||||
|  | ||||
|     #[test] | ||||
|     fn out_of_order_fields() { | ||||
|         let _documents = documents!([ | ||||
|             {"id": 1,"b": 0}, | ||||
|             {"id": 2,"a": 0,"b": 0}, | ||||
|         ]); | ||||
|     } | ||||
| } | ||||
|   | ||||
| @@ -1134,7 +1134,6 @@ mod tests { | ||||
|             "release_date": 819676800 | ||||
|           } | ||||
|         ]); | ||||
|  | ||||
|         let builder = IndexDocuments::new(&mut wtxn, &index, 1); | ||||
|         builder.execute(content, |_, _| ()).unwrap(); | ||||
|         wtxn.commit().unwrap(); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user