mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 07:14:46 +00:00
Update layout tests
This commit is contained in:
parent
c8ba554d8c
commit
a03f7fa46c
1 changed files with 2 additions and 3 deletions
|
@ -2795,9 +2795,8 @@ mod test {
|
||||||
|
|
||||||
let layout = Layout::Union(UnionLayout::NonRecursive(&tt));
|
let layout = Layout::Union(UnionLayout::NonRecursive(&tt));
|
||||||
|
|
||||||
// at the moment, the tag id uses an I64, so
|
|
||||||
let ptr_width = 8;
|
let ptr_width = 8;
|
||||||
assert_eq!(layout.stack_size(ptr_width), 8);
|
assert_eq!(layout.stack_size(ptr_width), 1);
|
||||||
assert_eq!(layout.alignment_bytes(ptr_width), 8);
|
assert_eq!(layout.alignment_bytes(ptr_width), 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue