mirror of
				https://github.com/meilisearch/meilisearch.git
				synced 2025-10-31 07:56:28 +00:00 
			
		
		
		
	Test that empty filters return a None
This commit is contained in:
		| @@ -644,4 +644,10 @@ mod tests { | ||||
|             error.to_string() | ||||
|         ); | ||||
|     } | ||||
|  | ||||
|     #[test] | ||||
|     fn empty_filter() { | ||||
|         let option = Filter::from_str("     ").unwrap(); | ||||
|         assert_eq!(option, None); | ||||
|     } | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user