tests::cannot_parse_empty_slice
All checks were successful
buildbot/runtests-gitea Build done.
buildbot/runtests Build done.

This commit is contained in:
AF 2023-08-04 21:16:00 +00:00
parent 58790a58d0
commit 677c3f3bd0

View File

@ -73,4 +73,9 @@ mod tests {
0x0807060504030201,
);
}
#[test]
fn cannot_parse_empty_slice() {
assert_eq!(u64::parse_slice(&[]).unwrap_err(), IntParseError::Eof);
}
}