ibr: Update the size tests.

Hashbrown has been stabilised, so HashMap is now two pointers bigger,
this reflects in this test.
This commit is contained in:
Emmanuel Gil Peyrot 2019-07-30 21:30:34 +02:00
parent ecee3e9ee8
commit a8628a7870

View file

@ -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. Lets 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]