mirror of
				https://github.com/meilisearch/meilisearch.git
				synced 2025-10-30 23:46:28 +00:00 
			
		
		
		
	Update meilisearch-http/tests/documents/add_documents.rs
Co-authored-by: Clément Renault <renault.cle@gmail.com>
This commit is contained in:
		| @@ -312,16 +312,7 @@ async fn error_add_malformed_json_documents() { | ||||
|     // truncate | ||||
|  | ||||
|     // length = 100 | ||||
|     let long = String::from_utf8( | ||||
|         "0123456789" | ||||
|             .as_bytes() | ||||
|             .iter() | ||||
|             .cycle() | ||||
|             .cloned() | ||||
|             .take(100) | ||||
|             .collect_vec(), | ||||
|     ) | ||||
|     .unwrap(); | ||||
|     let long = "0123456789".repeat(10); | ||||
|  | ||||
|     let document = format!("\"{}\"", long); | ||||
|     let req = test::TestRequest::put() | ||||
|   | ||||
		Reference in New Issue
	
	Block a user