mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-03 19:58:18 +00:00
Use a larger stack for a test that fails without it
This commit is contained in:
parent
107c6b0777
commit
100e8e34e0
1 changed files with 22 additions and 18 deletions
|
@ -14,6 +14,8 @@ use roc_mono::layout::{LayoutRepr, STLayoutInterner};
|
|||
#[cfg(test)]
|
||||
use roc_std::{RocList, RocStr, U128};
|
||||
|
||||
use crate::helpers::with_larger_debug_stack;
|
||||
|
||||
#[test]
|
||||
fn width_and_alignment_u8_u8() {
|
||||
use roc_mono::layout::Layout;
|
||||
|
@ -2167,27 +2169,29 @@ fn refcount_nullable_unwrapped_needing_no_refcount_issue_5027() {
|
|||
#[test]
|
||||
#[cfg(any(feature = "gen-llvm"))]
|
||||
fn issue_5162_recast_nested_nullable_unwrapped_layout() {
|
||||
assert_evals_to!(
|
||||
indoc!(
|
||||
r###"
|
||||
app "test" provides [main] to "./platform"
|
||||
with_larger_debug_stack(|| {
|
||||
assert_evals_to!(
|
||||
indoc!(
|
||||
r###"
|
||||
app "test" provides [main] to "./platform"
|
||||
|
||||
Concept : [
|
||||
AtomicConcept,
|
||||
ExistentialRestriction { role : Str, concept : Concept }
|
||||
]
|
||||
Concept : [
|
||||
AtomicConcept,
|
||||
ExistentialRestriction { role : Str, concept : Concept }
|
||||
]
|
||||
|
||||
bottom : Concept
|
||||
bottom = AtomicConcept
|
||||
bottom : Concept
|
||||
bottom = AtomicConcept
|
||||
|
||||
main =
|
||||
when Dict.single bottom 0 is
|
||||
_ -> Bool.true
|
||||
"###
|
||||
),
|
||||
true,
|
||||
bool
|
||||
);
|
||||
main =
|
||||
when Dict.single bottom 0 is
|
||||
_ -> Bool.true
|
||||
"###
|
||||
),
|
||||
true,
|
||||
bool
|
||||
);
|
||||
});
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue