From a8628a7870f072428e6bc880886c111e90d83749 Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Tue, 30 Jul 2019 21:30:34 +0200 Subject: [PATCH] ibr: Update the size tests. Hashbrown has been stabilised, so HashMap is now two pointers bigger, this reflects in this test. --- src/ibr.rs | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/src/ibr.rs b/src/ibr.rs index 2d41a6fa..8ddca59d 100644 --- a/src/ibr.rs +++ b/src/ibr.rs @@ -120,23 +120,16 @@ mod tests { use super::*; use crate::util::compare_elements::NamespaceAwareCompare; - // TODO: These size tests are sensible to the size of HashMap, which recently grew of two - // pointers and is thus different on stable and nightly. Let’s wait for this issue before - // attempting a fix: - // https://github.com/rust-lang/hashbrown/issues/69 - #[cfg(target_pointer_width = "32")] #[test] - #[ignore] fn test_size() { - assert_size!(Query, 88); + assert_size!(Query, 96); } #[cfg(target_pointer_width = "64")] #[test] - #[ignore] fn test_size() { - assert_size!(Query, 152); + assert_size!(Query, 168); } #[test]