1
0
mirror of https://gitlab.com/xmpp-rs/xmpp-rs.git synced 2024-05-31 05:19:20 +02:00

parsers: Update test_size tests

Change certainly due to https://github.com/rust-lang/rust/pull/94075

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
Maxime “pep” Buquet 2022-09-30 16:31:03 +02:00
parent ebd7df2dcf
commit 4795b2c628
No known key found for this signature in database
GPG Key ID: DEDA74AEECA9D0F2
5 changed files with 6 additions and 6 deletions

View File

@ -240,8 +240,8 @@ mod tests {
#[cfg(target_pointer_width = "64")]
#[test]
fn test_size() {
assert_size!(IqType, 240);
assert_size!(Iq, 424);
assert_size!(IqType, 232);
assert_size!(Iq, 416);
}
#[test]

View File

@ -704,7 +704,7 @@ mod tests {
assert_size!(Senders, 1);
assert_size!(Disposition, 1);
assert_size!(ContentId, 24);
assert_size!(Content, 456);
assert_size!(Content, 448);
assert_size!(Reason, 1);
assert_size!(ReasonElement, 32);
assert_size!(SessionId, 24);

View File

@ -73,7 +73,7 @@ mod tests {
#[test]
fn test_size() {
assert_size!(Transport, 24);
assert_size!(Candidate, 56);
assert_size!(Candidate, 48);
}
#[test]

View File

@ -265,7 +265,7 @@ mod tests {
assert_size!(Insert, 32);
assert_size!(Erase, 12);
assert_size!(Wait, 4);
assert_size!(Action, 40);
assert_size!(Action, 32);
assert_size!(Rtt, 56);
}

View File

@ -513,7 +513,7 @@ mod tests {
#[test]
fn test_size() {
assert_size!(XhtmlIm, 48);
assert_size!(Child, 112);
assert_size!(Child, 104);
assert_size!(Tag, 104);
}