From 7a204cd18267d0022b0a20bb0b162ec1cc2ac397 Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Tue, 18 Dec 2018 15:44:07 +0100 Subject: [PATCH] Also test the size of IBB StreamId. --- src/ibb.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ibb.rs b/src/ibb.rs index f778ddf1..f2aff83e 100644 --- a/src/ibb.rs +++ b/src/ibb.rs @@ -80,6 +80,7 @@ mod tests { #[cfg(target_pointer_width = "32")] #[test] fn test_size() { + assert_size!(StreamId, 12); assert_size!(Stanza, 1); assert_size!(Open, 16); assert_size!(Data, 28); @@ -89,6 +90,7 @@ mod tests { #[cfg(target_pointer_width = "64")] #[test] fn test_size() { + assert_size!(StreamId, 24); assert_size!(Stanza, 1); assert_size!(Open, 32); assert_size!(Data, 56);