From 4795b2c62879daba92a3a05bd70a7b866561acdb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxime=20=E2=80=9Cpep=E2=80=9D=20Buquet?= Date: Fri, 30 Sep 2022 16:31:03 +0200 Subject: [PATCH] parsers: Update test_size tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change certainly due to https://github.com/rust-lang/rust/pull/94075 Signed-off-by: Maxime “pep” Buquet --- parsers/src/iq.rs | 4 ++-- parsers/src/jingle.rs | 2 +- parsers/src/jingle_raw_udp.rs | 2 +- parsers/src/rtt.rs | 2 +- parsers/src/xhtml.rs | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/parsers/src/iq.rs b/parsers/src/iq.rs index 4e63649b..ccd55972 100644 --- a/parsers/src/iq.rs +++ b/parsers/src/iq.rs @@ -240,8 +240,8 @@ mod tests { #[cfg(target_pointer_width = "64")] #[test] fn test_size() { - assert_size!(IqType, 240); - assert_size!(Iq, 424); + assert_size!(IqType, 232); + assert_size!(Iq, 416); } #[test] diff --git a/parsers/src/jingle.rs b/parsers/src/jingle.rs index 1a96469d..584abfbb 100644 --- a/parsers/src/jingle.rs +++ b/parsers/src/jingle.rs @@ -704,7 +704,7 @@ mod tests { assert_size!(Senders, 1); assert_size!(Disposition, 1); assert_size!(ContentId, 24); - assert_size!(Content, 456); + assert_size!(Content, 448); assert_size!(Reason, 1); assert_size!(ReasonElement, 32); assert_size!(SessionId, 24); diff --git a/parsers/src/jingle_raw_udp.rs b/parsers/src/jingle_raw_udp.rs index 1e9202c7..b2624bfd 100644 --- a/parsers/src/jingle_raw_udp.rs +++ b/parsers/src/jingle_raw_udp.rs @@ -73,7 +73,7 @@ mod tests { #[test] fn test_size() { assert_size!(Transport, 24); - assert_size!(Candidate, 56); + assert_size!(Candidate, 48); } #[test] diff --git a/parsers/src/rtt.rs b/parsers/src/rtt.rs index 881351fd..6eb24eae 100644 --- a/parsers/src/rtt.rs +++ b/parsers/src/rtt.rs @@ -265,7 +265,7 @@ mod tests { assert_size!(Insert, 32); assert_size!(Erase, 12); assert_size!(Wait, 4); - assert_size!(Action, 40); + assert_size!(Action, 32); assert_size!(Rtt, 56); } diff --git a/parsers/src/xhtml.rs b/parsers/src/xhtml.rs index 7b2112f8..39e47a6c 100644 --- a/parsers/src/xhtml.rs +++ b/parsers/src/xhtml.rs @@ -513,7 +513,7 @@ mod tests { #[test] fn test_size() { assert_size!(XhtmlIm, 48); - assert_size!(Child, 112); + assert_size!(Child, 104); assert_size!(Tag, 104); }