mirror of
https://gitlab.com/xmpp-rs/xmpp-rs.git
synced 2024-07-12 22:21:53 +00:00
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:
parent
ecee3e9ee8
commit
a8628a7870
1 changed files with 2 additions and 9 deletions
11
src/ibr.rs
11
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]
|
||||
|
|
Loading…
Reference in a new issue