diff options
author | Sebastian Thiel <sebastian.thiel@icloud.com> | 2023-12-11 22:00:08 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-11 22:00:08 +0100 |
commit | 1b838f9a057782fd6f11d47d09ae3f77c6bf082d (patch) | |
tree | 4b7af4573ca9c2c673e4a4dadb779b55ed32cdd2 | |
parent | 491b5587ca0e9d157b9a4f8907c35137d57983d5 (diff) | |
parent | 9123ee7e648fab654520c33df672c053d5797966 (diff) |
Merge pull request #198 from cinerea0/fix-32bit-test
fix: EntryData size test passes on 32-bit (#197)
-rw-r--r-- | src/traverse.rs | 8 |
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>() ); } } |