mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-16 10:00:15 +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 =
|
||||
{ result, rest } = Decode.fromBytesPartial (Str.toUtf8 "-1234") Json.fromUtf8
|
||||
|
||||
when result is
|
||||
Ok val ->
|
||||
when Str.toI64 val is
|
||||
|
||||
when result is
|
||||
Ok val ->
|
||||
when Str.toI64 val is
|
||||
Ok number ->
|
||||
Ok {val : number, input : rest}
|
||||
Err InvalidNumStr ->
|
||||
Err (ParsingFailure "not a number")
|
||||
|
||||
Err _ ->
|
||||
Err _ ->
|
||||
Err (ParsingFailure "not a number")
|
||||
|
||||
expect
|
||||
expect
|
||||
result = getNumber
|
||||
result == Ok {val : -1234i64, input : []}
|
||||
"###
|
||||
|
@ -2553,6 +2553,7 @@ fn recursively_build_effect() {
|
|||
}
|
||||
|
||||
#[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() {
|
||||
indoc!(
|
||||
r#"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue