mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-03 00:24:34 +00:00
Added test for when lamda arrow is on new line
This commit is contained in:
parent
dbea3324a3
commit
7714639a45
1 changed files with 9 additions and 0 deletions
|
@ -500,6 +500,15 @@ mod test_format {
|
||||||
identity 42
|
identity 42
|
||||||
"#
|
"#
|
||||||
));
|
));
|
||||||
|
|
||||||
|
expr_formats_same(indoc!(
|
||||||
|
r#"
|
||||||
|
identity = \a
|
||||||
|
-> a
|
||||||
|
|
||||||
|
identity 42
|
||||||
|
"#
|
||||||
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
// RECORD LITERALS
|
// RECORD LITERALS
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue