From e7fa6460f4b0357bf7d961f88c147c095a63a70b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20Sch=C3=A4fer?= Date: Fri, 8 Mar 2024 15:58:21 +0100 Subject: [PATCH] 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`. --- parsers/src/extdisco.rs | 4 ++-- parsers/src/jingle_ft.rs | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/parsers/src/extdisco.rs b/parsers/src/extdisco.rs index ded6312c..2a09f89b 100644 --- a/parsers/src/extdisco.rs +++ b/parsers/src/extdisco.rs @@ -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); diff --git a/parsers/src/jingle_ft.rs b/parsers/src/jingle_ft.rs index e5a6d815..396a4978 100644 --- a/parsers/src/jingle_ft.rs +++ b/parsers/src/jingle_ft.rs @@ -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); }