Fix test.
This commit is contained in:
@@ -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>());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user