xmpp-parsers: Fix tests on 32-bit

This has been tested on ARMv7.
This commit is contained in:
Emmanuel Gil Peyrot 2024-07-01 19:38:20 +02:00 committed by Jonas Schäfer
parent 1367764f85
commit b94919ae99
3 changed files with 3 additions and 3 deletions

View file

@ -394,7 +394,7 @@ mod tests {
fn test_size() {
assert_size!(Option_, 24);
assert_size!(FieldType, 1);
assert_size!(Field, 132);
assert_size!(Field, 140);
assert_size!(DataFormType, 1);
assert_size!(DataForm, 52);
}

View file

@ -233,7 +233,7 @@ mod tests {
#[test]
fn test_size() {
assert_size!(IqType, 104);
assert_size!(Iq, 168);
assert_size!(Iq, 148);
}
#[cfg(target_pointer_width = "64")]

View file

@ -48,7 +48,7 @@ mod tests {
#[cfg(target_pointer_width = "32")]
#[test]
fn test_size() {
assert_size!(StanzaId, 24);
assert_size!(StanzaId, 28);
assert_size!(OriginId, 12);
}