From c1bbc35bb8973e23f956dc9863b22e38756c90c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Magalh=C3=A3es?= Date: Sun, 28 Jul 2024 10:53:48 +0100 Subject: [PATCH] fix: tests --- src/state.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/state.rs b/src/state.rs index e4f19120..3ba4bff5 100644 --- a/src/state.rs +++ b/src/state.rs @@ -1666,8 +1666,8 @@ mod tests { assert_eq!( bess_core.io_registers, [ - 63, 0, 0, 255, 0, 0, 0, 248, 255, 255, 255, 255, 255, 255, 255, 224, 128, 63, 0, - 255, 191, 255, 63, 0, 255, 191, 127, 255, 159, 255, 191, 255, 255, 0, 0, 191, 0, 0, + 63, 0, 0, 255, 0, 0, 0, 248, 255, 255, 255, 255, 255, 255, 255, 224, 128, 0, 0, + 255, 191, 255, 63, 0, 255, 191, 127, 255, 159, 255, 191, 255, 0, 0, 0, 191, 0, 0, 240, 255, 255, 255, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 134, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 126, 255, 254, 0, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, @@ -1717,7 +1717,7 @@ mod tests { let encoded = encode_zippy(&data).unwrap(); let decoded = decode_zippy(&encoded).unwrap(); assert_eq!(data, decoded); - assert_eq!(encoded.len(), 811); + assert_eq!(encoded.len(), 810); assert_eq!(decoded.len(), 25154); } }