Also test the size of IBB StreamId.
This commit is contained in:
parent
5e64dee0ed
commit
7a204cd182
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue