mirror of
https://gitlab.com/xmpp-rs/xmpp-rs.git
synced 2024-07-12 22:21:53 +00:00
xmpp-parsers: Fix tests on 32-bit
This has been tested on ARMv7.
This commit is contained in:
parent
1367764f85
commit
b94919ae99
3 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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")]
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue