[][src]Macro nom_test_helpers::assert_finished

macro_rules! assert_finished {
    ($e:expr $(,)?) => { ... };
    ($e:expr, $($arg:tt)+) => { ... };
}

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);