mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 05:49:08 +00:00
Make parse tests for reporting tests
This commit is contained in:
parent
469e1dc9e3
commit
b2bb38220b
5 changed files with 13 additions and 0 deletions
|
@ -0,0 +1 @@
|
||||||
|
Expr(When(Condition(Start(@30), @29), @24), @0)
|
|
@ -0,0 +1,6 @@
|
||||||
|
when Just 4 is
|
||||||
|
Just when ->
|
||||||
|
4
|
||||||
|
|
||||||
|
_ ->
|
||||||
|
2
|
|
@ -0,0 +1 @@
|
||||||
|
Expr(When(Arrow(@26), @20), @0)
|
|
@ -0,0 +1,3 @@
|
||||||
|
when 5 is
|
||||||
|
1 -> 2
|
||||||
|
_
|
|
@ -124,6 +124,8 @@ mod test_parse {
|
||||||
fail/lambda_missing_indent.expr,
|
fail/lambda_missing_indent.expr,
|
||||||
fail/type_argument_no_arrow.expr,
|
fail/type_argument_no_arrow.expr,
|
||||||
fail/type_double_comma.expr,
|
fail/type_double_comma.expr,
|
||||||
|
fail/when_missing_arrow.expr,
|
||||||
|
fail/pattern_binds_keyword.expr,
|
||||||
pass/ability_demand_signature_is_multiline.expr,
|
pass/ability_demand_signature_is_multiline.expr,
|
||||||
pass/ability_multi_line.expr,
|
pass/ability_multi_line.expr,
|
||||||
pass/ability_single_line.expr,
|
pass/ability_single_line.expr,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue