diff --git a/src/traverse.rs b/src/traverse.rs index 157ce2c3..b2c87249 100644 --- a/src/traverse.rs +++ b/src/traverse.rs @@ -312,10 +312,10 @@ mod tests { #[test] fn size_of_entry_data() { - assert_eq!( - std::mem::size_of::(), - 80, - "the size of this should not change unexpectedly as it affects overall memory consumption" + assert!( + std::mem::size_of::() <= 80, + "the size of this ({}) should not exceed 80 as it affects overall memory consumption", + std::mem::size_of::() ); } }