1
0
mirror of https://gitlab.com/xmpp-rs/xmpp-rs.git synced 2024-07-01 02:48:42 +02:00

parsers: Fix jingle and jingle_rtp test_size for 32bit

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
Maxime “pep” Buquet 2020-04-05 19:05:12 +02:00
parent 080c7b8c95
commit 0b680a18e5
No known key found for this signature in database
GPG Key ID: DEDA74AEECA9D0F2
2 changed files with 3 additions and 3 deletions

View File

@ -656,7 +656,7 @@ mod tests {
assert_size!(Senders, 1);
assert_size!(Disposition, 1);
assert_size!(ContentId, 12);
assert_size!(Content, 172);
assert_size!(Content, 204);
assert_size!(Reason, 1);
assert_size!(ReasonElement, 16);
assert_size!(SessionId, 12);

View File

@ -125,9 +125,9 @@ mod tests {
#[cfg(target_pointer_width = "32")]
#[test]
fn test_size() {
assert_size!(Description, 36);
assert_size!(Description, 60);
assert_size!(Channels, 1);
assert_size!(PayloadType, 52);
assert_size!(PayloadType, 64);
assert_size!(Parameter, 24);
}