Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
sezna committed Jul 31, 2024
1 parent 2c96d0d commit 008a217
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions petr-fmt/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -636,10 +636,14 @@ fn let_bindings_no_trailing_comma() {

#[test]
fn sum_ty_formatting() {
check(Default::default(), "fn myFunc(x in 'sum 1 | 2 | 3) returns 'int 5", expect![[r#"
check(
Default::default(),
"fn myFunc(x in 'sum 1 | 2 | 3) returns 'int 5",
expect![[r#"
fn myFunc(
x ∈ 'Σ 1 | 2 | 3,
) → 'int
5
"#]])
"#]],
)
}

0 comments on commit 008a217

Please sign in to comment.