mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-01-30 15:17:31 +01: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…
x
Reference in New Issue
Block a user