mirror of
https://gitlab.com/xmpp-rs/xmpp-rs.git
synced 2024-07-12 22:21:53 +00:00
Update size tests
This seems to be related to an update of chrono. 32-bit sizes verified using `cargo test --target i686-unknown-linux-gnu`.
This commit is contained in:
parent
2f7d5edb8a
commit
e7fa6460f4
2 changed files with 7 additions and 7 deletions
|
@ -149,7 +149,7 @@ mod tests {
|
|||
assert_size!(Transport, 1);
|
||||
assert_size!(Restricted, 1);
|
||||
assert_size!(Type, 1);
|
||||
assert_size!(Service, 88);
|
||||
assert_size!(Service, 84);
|
||||
assert_size!(ServicesQuery, 1);
|
||||
assert_size!(ServicesResult, 16);
|
||||
assert_size!(Credentials, 12);
|
||||
|
@ -162,7 +162,7 @@ mod tests {
|
|||
assert_size!(Transport, 1);
|
||||
assert_size!(Restricted, 1);
|
||||
assert_size!(Type, 1);
|
||||
assert_size!(Service, 152);
|
||||
assert_size!(Service, 144);
|
||||
assert_size!(ServicesQuery, 1);
|
||||
assert_size!(ServicesResult, 32);
|
||||
assert_size!(Credentials, 24);
|
||||
|
|
|
@ -339,8 +339,8 @@ mod tests {
|
|||
#[ignore]
|
||||
fn test_size() {
|
||||
assert_size!(Range, 32);
|
||||
assert_size!(File, 112);
|
||||
assert_size!(Description, 112);
|
||||
assert_size!(File, 104);
|
||||
assert_size!(Description, 104);
|
||||
assert_size!(Checksum, 128);
|
||||
assert_size!(Received, 16);
|
||||
}
|
||||
|
@ -349,9 +349,9 @@ mod tests {
|
|||
#[test]
|
||||
fn test_size() {
|
||||
assert_size!(Range, 48);
|
||||
assert_size!(File, 184);
|
||||
assert_size!(Description, 184);
|
||||
assert_size!(Checksum, 216);
|
||||
assert_size!(File, 176);
|
||||
assert_size!(Description, 176);
|
||||
assert_size!(Checksum, 208);
|
||||
assert_size!(Received, 32);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue