mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-06-06 12:57:48 +02:00
Test that empty filters return a None
This commit is contained in:
parent
ef59762d8e
commit
65519bc04b
|
@ -644,4 +644,10 @@ mod tests {
|
|||
error.to_string()
|
||||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn empty_filter() {
|
||||
let option = Filter::from_str(" ").unwrap();
|
||||
assert_eq!(option, None);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user