macro_rules! assert_finished {
($e:expr $(,)?) => { ... };
($e:expr, $($arg:tt)+) => { ... };
}Expand description
This does the same thing as assert_done!, except that
this also asserts that the input slice is empty
ยงExamples
use nom_test_helpers::assert_finished;
let r: nom::IResult<&str, &str> = Ok(("", "efgh"));
assert_finished!(r);