mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-24 05:44:06 +00:00
disable a test that glue cannot handle
This commit is contained in:
parent
e9fc9dd3f9
commit
3de3937553
1 changed files with 7 additions and 6 deletions
|
@ -2471,19 +2471,19 @@ fn issue_4772_weakened_monomorphic_destructure() {
|
||||||
|
|
||||||
getNumber =
|
getNumber =
|
||||||
{ result, rest } = Decode.fromBytesPartial (Str.toUtf8 "-1234") Json.fromUtf8
|
{ result, rest } = Decode.fromBytesPartial (Str.toUtf8 "-1234") Json.fromUtf8
|
||||||
|
|
||||||
when result is
|
when result is
|
||||||
Ok val ->
|
Ok val ->
|
||||||
when Str.toI64 val is
|
when Str.toI64 val is
|
||||||
Ok number ->
|
Ok number ->
|
||||||
Ok {val : number, input : rest}
|
Ok {val : number, input : rest}
|
||||||
Err InvalidNumStr ->
|
Err InvalidNumStr ->
|
||||||
Err (ParsingFailure "not a number")
|
Err (ParsingFailure "not a number")
|
||||||
|
|
||||||
Err _ ->
|
Err _ ->
|
||||||
Err (ParsingFailure "not a number")
|
Err (ParsingFailure "not a number")
|
||||||
|
|
||||||
expect
|
expect
|
||||||
result = getNumber
|
result = getNumber
|
||||||
result == Ok {val : -1234i64, input : []}
|
result == Ok {val : -1234i64, input : []}
|
||||||
"###
|
"###
|
||||||
|
@ -2553,6 +2553,7 @@ fn recursively_build_effect() {
|
||||||
}
|
}
|
||||||
|
|
||||||
#[mono_test]
|
#[mono_test]
|
||||||
|
#[ignore = "roc glue code generation cannot handle a type that this test generates"]
|
||||||
fn recursive_lambda_set_has_nested_non_recursive_lambda_sets_issue_5026() {
|
fn recursive_lambda_set_has_nested_non_recursive_lambda_sets_issue_5026() {
|
||||||
indoc!(
|
indoc!(
|
||||||
r#"
|
r#"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue