Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
gagliardetto committed Jun 6, 2024
1 parent 56699e6 commit d006db7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion txstatus/src/reader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,8 @@ mod tests {
assert_eq!(4, d.remaining());

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

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

0 comments on commit d006db7

Please sign in to comment.