Use snapshot testing for the filter parser

This commit is contained in:
Loïc Lecrenier 2022-08-17 17:25:31 +02:00
parent 238a7be58d
commit 497f9817a2
3 changed files with 259 additions and 412 deletions

View file

@ -3,7 +3,7 @@ use nom::bytes::complete::{take_till, take_while, take_while1};
use nom::character::complete::{char, multispace0};
use nom::combinator::cut;
use nom::sequence::{delimited, terminated};
use nom::{error, InputIter, InputLength, InputTake, Slice};
use nom::{InputIter, InputLength, InputTake, Slice};
use crate::error::{ExpectedValueKind, NomErrorExt};
use crate::{parse_geo_point, parse_geo_radius, Error, ErrorKind, IResult, Span, Token};