Skip to content
Snippets Groups Projects
Verified Commit 1c0e6c25 authored by Jacob Lorentzon's avatar Jacob Lorentzon :speech_balloon:
Browse files

Fix test.

parent 8117119d
No related branches found
No related tags found
No related merge requests found
......@@ -82,6 +82,7 @@ impl Entry {
mod tests {
#[test]
fn entry_has_required_arch_alignment() {
assert_eq!(core::mem::align_of::<Entry>(), core::mem::align_of::<u64>());
use super::Entry;
assert!(core::mem::align_of::<Entry>() >= core::mem::align_of::<u64>(), "alignment of Entry is less than the required alignment of u64 ({} < {})", core::mem::align_of::<Entry>(), core::mem::align_of::<u64>());
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment