mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-12-25 06:00:08 +01:00
add a simple test on the filters with an integer
This commit is contained in:
parent
6c15f50899
commit
c634d43ac5
@ -365,6 +365,10 @@ mod tests {
|
|||||||
Fc::from_str(&rtxn, &index, "channel = Ponce"),
|
Fc::from_str(&rtxn, &index, "channel = Ponce"),
|
||||||
Fc::Operator(0, Operator::Equal(None, S("ponce"))),
|
Fc::Operator(0, Operator::Equal(None, S("ponce"))),
|
||||||
),
|
),
|
||||||
|
(
|
||||||
|
Fc::from_str(&rtxn, &index, "subscribers = 12"),
|
||||||
|
Fc::Operator(2, Operator::Equal(Some(12.), S("12"))),
|
||||||
|
),
|
||||||
// test all the quotes and simple quotes
|
// test all the quotes and simple quotes
|
||||||
(
|
(
|
||||||
Fc::from_str(&rtxn, &index, "channel = 'Mister Mv'"),
|
Fc::from_str(&rtxn, &index, "channel = 'Mister Mv'"),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user