mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-03 00:24:34 +00:00
re-enable RBTree.balance test
This commit is contained in:
parent
9ac1491647
commit
8f49b1afaa
2 changed files with 3 additions and 2 deletions
|
@ -1203,7 +1203,9 @@ pub fn refcount_offset<'a, 'ctx, 'env>(env: &Env<'a, 'ctx, 'env>, layout: &Layou
|
||||||
match layout {
|
match layout {
|
||||||
Layout::Builtin(Builtin::List(_, _)) => env.ptr_bytes as u64,
|
Layout::Builtin(Builtin::List(_, _)) => env.ptr_bytes as u64,
|
||||||
Layout::Builtin(Builtin::Str) => env.ptr_bytes as u64,
|
Layout::Builtin(Builtin::Str) => env.ptr_bytes as u64,
|
||||||
Layout::RecursivePointer | Layout::RecursiveUnion(_) => env.ptr_bytes as u64,
|
Layout::RecursivePointer | Layout::Union(_) | Layout::RecursiveUnion(_) => {
|
||||||
|
env.ptr_bytes as u64
|
||||||
|
}
|
||||||
_ => (env.ptr_bytes as u64).max(value_bytes),
|
_ => (env.ptr_bytes as u64).max(value_bytes),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1342,7 +1342,6 @@ mod gen_primitives {
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
#[ignore]
|
|
||||||
fn rbtree_balance_full() {
|
fn rbtree_balance_full() {
|
||||||
assert_non_opt_evals_to!(
|
assert_non_opt_evals_to!(
|
||||||
indoc!(
|
indoc!(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue