Macro mentat_parser_utils::assert_parses_to [] [src]

macro_rules! assert_parses_to {
    ( $parser: expr, $input: expr, $expected: expr ) => { ... };
}

assert_parses_to! simplifies some of the boilerplate around running a parser function against input and expecting a certain result.