mirror of
https://github.com/roc-lang/roc.git
synced 2025-07-23 14:35:12 +00:00
Use larger stack for abilities test
This commit is contained in:
parent
e1f8d68055
commit
cc2599b473
1 changed files with 11 additions and 7 deletions
|
@ -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,9 +937,10 @@ 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() {
|
||||||
assert_evals_to!(
|
with_larger_debug_stack(|| {
|
||||||
indoc!(
|
assert_evals_to!(
|
||||||
r#"
|
indoc!(
|
||||||
|
r#"
|
||||||
app "test"
|
app "test"
|
||||||
imports [Encode, TotallyNotJson]
|
imports [Encode, TotallyNotJson]
|
||||||
provides [main] to "./platform"
|
provides [main] to "./platform"
|
||||||
|
@ -949,10 +952,11 @@ fn specialize_unique_newtype_records() {
|
||||||
_ -> "<bad>"
|
_ -> "<bad>"
|
||||||
_ -> "<bad>"
|
_ -> "<bad>"
|
||||||
"#
|
"#
|
||||||
),
|
),
|
||||||
RocStr::from(r#"{"a":true}{"b":true}"#),
|
RocStr::from(r#"{"a":true}{"b":true}"#),
|
||||||
RocStr
|
RocStr
|
||||||
)
|
)
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue