xmpp-parsers: Fix size tests on 64-bit

This commit is contained in:
Emmanuel Gil Peyrot 2023-06-20 14:08:58 +02:00
commit 91736ec0ed
18 changed files with 20 additions and 32 deletions

View file

@ -55,10 +55,7 @@ mod tests {
#[test]
fn test_size() {
assert_size!(JidPrepQuery, 24);
#[cfg(rustc_nightly)]
assert_size!(JidPrepResponse, 72);
#[cfg(not(rustc_nightly))]
assert_size!(JidPrepResponse, 80);
assert_size!(JidPrepResponse, 40);
}
#[test]