Skip to content

Commit

Permalink
Fix size tests
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed Nov 18, 2019
1 parent 7c4986e commit 1de6cb8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/parse.rs
Expand Up @@ -2886,14 +2886,14 @@ mod test {
#[cfg(target_pointer_width = "64")]
fn node_size() {
let node_size = std::mem::size_of::<Node<Item>>();
assert_eq!(48, node_size);
assert_eq!(56, node_size);
}

#[test]
#[cfg(target_pointer_width = "64")]
fn body_size() {
let body_size = std::mem::size_of::<ItemBody>();
assert_eq!(16, body_size);
assert_eq!(24, body_size);
}

#[test]
Expand Down

0 comments on commit 1de6cb8

Please sign in to comment.