mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-03 19:58:18 +00:00
Make sure to initialize complete uninit buffer in gen tests
This commit is contained in:
parent
54afed12a3
commit
11b7597a07
1 changed files with 6 additions and 4 deletions
|
@ -1431,8 +1431,9 @@ fn issue_2365_monomorphize_tag_with_non_empty_ext_var_wrapped() {
|
|||
main = compound {}
|
||||
"#
|
||||
),
|
||||
2, // C
|
||||
u8
|
||||
(0, 2), // Err, C
|
||||
([u8; std::mem::size_of::<RocStr>()], u8),
|
||||
|(err_tag, wrap_tag): ([u8; std::mem::size_of::<RocStr>()], u8)| (wrap_tag, err_tag[0])
|
||||
)
|
||||
}
|
||||
|
||||
|
@ -1460,8 +1461,9 @@ fn issue_2365_monomorphize_tag_with_non_empty_ext_var_wrapped_nested() {
|
|||
compound {}
|
||||
"#
|
||||
),
|
||||
2, // C
|
||||
u8
|
||||
(0, 2), // Err, C
|
||||
([u8; std::mem::size_of::<RocStr>()], u8),
|
||||
|(err_tag, wrap_tag): ([u8; std::mem::size_of::<RocStr>()], u8)| (wrap_tag, err_tag[0])
|
||||
)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue