mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-04 12:18:19 +00:00
Simplify category formatting for try concepts
This commit is contained in:
parent
de626102c8
commit
8c81742abe
2 changed files with 4 additions and 19 deletions
|
@ -890,7 +890,7 @@ mod test_can {
|
|||
let cond_expr = assert_try_expr(&out.loc_expr.value);
|
||||
let cond_args = assert_func_call(cond_expr, "toU64", CalledVia::Try, &out.interns);
|
||||
|
||||
assert_eq!(cond_args.len(), 1);
|
||||
assert_eq!(cond_args.len(), 2);
|
||||
|
||||
let ok_tag = assert_try_expr(&cond_args[0].1.value);
|
||||
let tag_args = assert_tag_application(ok_tag, "Ok");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue