fix: wrong neshub version, formatting

This commit is contained in:
DatCaptainHorse
2026-08-31 17:24:00 +03:00
parent 6ea241c910
commit d9cdf60039
16 changed files with 618 additions and 317 deletions

View File

@@ -193,7 +193,11 @@ mod tests {
let mut framed = Vec::new();
crate::encode_frame(&mut framed, crate::MSG_DATA, 42, &[9, 8, 7]);
assert_eq!(&framed[4..], &body[..], "body is the frame minus its prefix");
assert_eq!(
&framed[4..],
&body[..],
"body is the frame minus its prefix"
);
let (msg_type, seq, payload) = crate::decode_frame(&body).expect("body parses");
assert_eq!(msg_type, crate::MSG_DATA);