Use larger stack for abilities test

This commit is contained in:
Ayaz Hafiz 2023-06-09 16:20:23 -05:00
parent e1f8d68055
commit cc2599b473
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58

View file

@ -12,6 +12,8 @@ use roc_std::RocList;
#[cfg(all(test, any(feature = "gen-llvm", feature = "gen-wasm")))] #[cfg(all(test, any(feature = "gen-llvm", feature = "gen-wasm")))]
use roc_std::RocStr; use roc_std::RocStr;
use crate::helpers::with_larger_debug_stack;
#[test] #[test]
#[cfg(any(feature = "gen-llvm", feature = "gen-wasm"))] #[cfg(any(feature = "gen-llvm", feature = "gen-wasm"))]
fn hash_specialization() { fn hash_specialization() {
@ -935,6 +937,7 @@ fn encode_derived_generic_tag_with_different_field_types() {
#[test] #[test]
#[cfg(any(feature = "gen-llvm", feature = "gen-wasm"))] #[cfg(any(feature = "gen-llvm", feature = "gen-wasm"))]
fn specialize_unique_newtype_records() { fn specialize_unique_newtype_records() {
with_larger_debug_stack(|| {
assert_evals_to!( assert_evals_to!(
indoc!( indoc!(
r#" r#"
@ -953,6 +956,7 @@ fn specialize_unique_newtype_records() {
RocStr::from(r#"{"a":true}{"b":true}"#), RocStr::from(r#"{"a":true}{"b":true}"#),
RocStr RocStr
) )
});
} }
#[test] #[test]