This commit is contained in:
Filip Bachul 2023-03-30 23:37:26 +02:00
parent cb2b5eb38e
commit 1861c69964

View File

@ -270,7 +270,10 @@ mod tests {
("_geo(12, -2021):asc", ReservedKeyword { name: S("_geo(12, -2021)") }), ("_geo(12, -2021):asc", ReservedKeyword { name: S("_geo(12, -2021)") }),
("_geo(12, -2021):desc", ReservedKeyword { name: S("_geo(12, -2021)") }), ("_geo(12, -2021):desc", ReservedKeyword { name: S("_geo(12, -2021)") }),
("_geoDistance(12, -2021):asc", ReservedKeyword { name: S("_geoDistance(12, -2021)") }), ("_geoDistance(12, -2021):asc", ReservedKeyword { name: S("_geoDistance(12, -2021)") }),
("_geoDistance(12, -2021):desc", ReservedKeyword { name: S("_geoDistance(12, -2021)") }), (
"_geoDistance(12, -2021):desc",
ReservedKeyword { name: S("_geoDistance(12, -2021)") },
),
]; ];
for (req, expected_error) in invalid_req { for (req, expected_error) in invalid_req {