summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/traverse.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/traverse.rs b/src/traverse.rs
index 157ce2c..b2c8724 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::<EntryData>(),
- 80,
- "the size of this should not change unexpectedly as it affects overall memory consumption"
+ assert!(
+ std::mem::size_of::<EntryData>() <= 80,
+ "the size of this ({}) should not exceed 80 as it affects overall memory consumption",
+ std::mem::size_of::<EntryData>()
);
}
}