xmpp-parsers: Fix tests on 32-bit

Emmanuel Gil Peyrot created

This has been tested on ARMv7.

Change summary

parsers/src/data_forms.rs | 2 +-
parsers/src/iq.rs         | 2 +-
parsers/src/stanza_id.rs  | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)

Detailed changes

parsers/src/data_forms.rs 🔗

@@ -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);
     }

parsers/src/iq.rs 🔗

@@ -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")]

parsers/src/stanza_id.rs 🔗

@@ -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);
     }