mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-07-23 23:00:59 +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