Skip to content

Commit

Permalink
Merge branch 'decathorpe/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
Byron committed Aug 2, 2023
2 parents e4d2890 + 7f7353e commit 422747d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions gix-object/src/data.rs
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,9 @@ mod tests {

#[test]
fn size_of_object() {
#[cfg(target_pointer_width = "64")]
assert_eq!(std::mem::size_of::<Data<'_>>(), 24, "this shouldn't change unnoticed");
#[cfg(target_pointer_width = "32")]
assert_eq!(std::mem::size_of::<Data<'_>>(), 12, "this shouldn't change unnoticed");
}
}

0 comments on commit 422747d

Please sign in to comment.