Macro nom_test_helpers::assert_finished
[−]
[src]
macro_rules! assert_finished { ($e:expr) => { ... }; }
This does the same thing as assert_done!, except that
this also asserts that the input slice is empty
Examples
let r: IResult<&str, &str> = IResult::Done("", "efgh"); assert_finished!(r);