mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-03 11:52:19 +00:00
Update tests
This commit is contained in:
parent
8c81742abe
commit
9392742d17
2 changed files with 7 additions and 10 deletions
|
@ -178,15 +178,10 @@ Defs {
|
|||
ident: "inc",
|
||||
},
|
||||
[
|
||||
@132-133 SpaceAfter(
|
||||
Var {
|
||||
module_name: "",
|
||||
ident: "i",
|
||||
},
|
||||
[
|
||||
Newline,
|
||||
],
|
||||
),
|
||||
@132-133 Var {
|
||||
module_name: "",
|
||||
ident: "i",
|
||||
},
|
||||
],
|
||||
Try,
|
||||
),
|
||||
|
|
|
@ -892,7 +892,9 @@ mod test_can {
|
|||
|
||||
assert_eq!(cond_args.len(), 2);
|
||||
|
||||
let ok_tag = assert_try_expr(&cond_args[0].1.value);
|
||||
assert_str_value(&cond_args[0].1.value, "123");
|
||||
|
||||
let ok_tag = assert_try_expr(&cond_args[1].1.value);
|
||||
let tag_args = assert_tag_application(ok_tag, "Ok");
|
||||
|
||||
assert_eq!(tag_args.len(), 1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue