mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-04 20:28:02 +00:00
Merge branch 'main' into new-builder-syntax
This commit is contained in:
commit
618b713ecd
70 changed files with 1654 additions and 256 deletions
|
@ -6205,6 +6205,31 @@ mod test_fmt {
|
|||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn issue_6215() {
|
||||
expr_formats_to(
|
||||
indoc!(
|
||||
r"
|
||||
when list is
|
||||
[first as last]
|
||||
| [first, last] ->
|
||||
first
|
||||
_->Not
|
||||
"
|
||||
),
|
||||
indoc!(
|
||||
r"
|
||||
when list is
|
||||
[first as last]
|
||||
| [first, last] ->
|
||||
first
|
||||
|
||||
_ -> Not
|
||||
"
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
// this is a parse error atm
|
||||
// #[test]
|
||||
// fn multiline_apply() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue