From 2a7cf487a49bdd8865fe674e317c9c437d4531e2 Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Sun, 13 Jan 2019 12:06:37 +0100 Subject: [PATCH] roster: Also test for the size of the new Ask attribute. --- src/roster.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/roster.rs b/src/roster.rs index e8629727..b40d2d5d 100644 --- a/src/roster.rs +++ b/src/roster.rs @@ -103,6 +103,7 @@ mod tests { fn test_size() { assert_size!(Group, 12); assert_size!(Subscription, 1); + assert_size!(Ask, 1); assert_size!(Item, 64); assert_size!(Roster, 24); } @@ -112,6 +113,7 @@ mod tests { fn test_size() { assert_size!(Group, 24); assert_size!(Subscription, 1); + assert_size!(Ask, 1); assert_size!(Item, 128); assert_size!(Roster, 48); }