From 56699e6be33f09538852314440d7b2ac79993902 Mon Sep 17 00:00:00 2001 From: gagliardetto Date: Thu, 6 Jun 2024 16:37:42 +0200 Subject: [PATCH] Fix test_decoder_u16 --- txstatus/src/reader.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/txstatus/src/reader.rs b/txstatus/src/reader.rs index f75e8441..c0c64635 100644 --- a/txstatus/src/reader.rs +++ b/txstatus/src/reader.rs @@ -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);