mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-07-31 10:50:03 +00:00
Prefer returning None instead of the Empty Filter state
This commit is contained in:
@ -1060,7 +1060,7 @@ mod tests {
|
||||
wtxn.commit().unwrap();
|
||||
|
||||
let rtxn = index.read_txn().unwrap();
|
||||
let filter = Filter::from_str("toto = 32").unwrap();
|
||||
let filter = Filter::from_str("toto = 32").unwrap().unwrap();
|
||||
let _ = filter.evaluate(&rtxn, &index).unwrap_err();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user