Skip to content

Commit

Permalink
Fix test_decoder_u16
Browse files Browse the repository at this point in the history
  • Loading branch information
gagliardetto committed Jun 6, 2024
1 parent f657cd3 commit 56699e6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions txstatus/src/reader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -242,18 +242,18 @@ mod tests {

let n = d.read_u16().unwrap();
assert_eq!(18360, n);
assert_eq!(6, d.remaining());
assert_eq!(8, d.remaining());

let n = d.read_u16().unwrap();
assert_eq!(28917, n);
assert_eq!(4, d.remaining());
assert_eq!(6, d.remaining());

let n = d.read_u16().unwrap();
assert_eq!(1023, n);
assert_eq!(2, d.remaining());
assert_eq!(4, d.remaining());

let n = d.read_u16().unwrap();
assert_eq!(0, n);
assert_eq!(2, n);

let n = d.read_u16().unwrap();
assert_eq!(33, n);
Expand Down

0 comments on commit 56699e6

Please sign in to comment.