mirror of
				https://github.com/meilisearch/meilisearch.git
				synced 2025-10-26 13:36:27 +00:00 
			
		
		
		
	fix tests + fmt
This commit is contained in:
		| @@ -115,9 +115,7 @@ fn send_undefined_rule() { | ||||
|     }); | ||||
|     server.create_index(body); | ||||
|  | ||||
|     let body = json!([ | ||||
|         "typos", | ||||
|     ]); | ||||
|     let body = json!(["typos",]); | ||||
|  | ||||
|     let (_response, status_code) = server.update_ranking_rules_sync(body); | ||||
|     assert_eq!(status_code, 400); | ||||
| @@ -132,9 +130,7 @@ fn send_malformed_custom_rule() { | ||||
|     }); | ||||
|     server.create_index(body); | ||||
|  | ||||
|     let body = json!([ | ||||
|         "dsc(truc)", | ||||
|     ]); | ||||
|     let body = json!(["dsc(truc)",]); | ||||
|  | ||||
|     let (_response, status_code) = server.update_ranking_rules_sync(body); | ||||
|     assert_eq!(status_code, 400); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user