mirror of
https://gitlab.com/xmpp-rs/xmpp-rs.git
synced 2024-07-12 22:21:53 +00:00
roster: Also test for the size of the new Ask attribute.
This commit is contained in:
parent
b6796d54e6
commit
2a7cf487a4
1 changed files with 2 additions and 0 deletions
|
@ -103,6 +103,7 @@ mod tests {
|
|||
fn test_size() {
|
||||
assert_size!(Group, 12);
|
||||
assert_size!(Subscription, 1);
|
||||
assert_size!(Ask, 1);
|
||||
assert_size!(Item, 64);
|
||||
assert_size!(Roster, 24);
|
||||
}
|
||||
|
@ -112,6 +113,7 @@ mod tests {
|
|||
fn test_size() {
|
||||
assert_size!(Group, 24);
|
||||
assert_size!(Subscription, 1);
|
||||
assert_size!(Ask, 1);
|
||||
assert_size!(Item, 128);
|
||||
assert_size!(Roster, 48);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue