roster: Also test for the size of the new Ask attribute.

This commit is contained in:
Emmanuel Gil Peyrot 2019-01-13 12:06:37 +01:00
parent b6796d54e6
commit 2a7cf487a4

View file

@ -103,6 +103,7 @@ mod tests {
fn test_size() { fn test_size() {
assert_size!(Group, 12); assert_size!(Group, 12);
assert_size!(Subscription, 1); assert_size!(Subscription, 1);
assert_size!(Ask, 1);
assert_size!(Item, 64); assert_size!(Item, 64);
assert_size!(Roster, 24); assert_size!(Roster, 24);
} }
@ -112,6 +113,7 @@ mod tests {
fn test_size() { fn test_size() {
assert_size!(Group, 24); assert_size!(Group, 24);
assert_size!(Subscription, 1); assert_size!(Subscription, 1);
assert_size!(Ask, 1);
assert_size!(Item, 128); assert_size!(Item, 128);
assert_size!(Roster, 48); assert_size!(Roster, 48);
} }