Skip to content

Commit

Permalink
Add test for with statement formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
raskad committed Dec 3, 2023
1 parent 1867f4b commit 5bcaf27
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions boa_parser/src/parser/tests/format/statement.rs
Original file line number Diff line number Diff line change
Expand Up @@ -122,3 +122,15 @@ fn switch() {
"#,
);
}

#[test]
fn with() {
test_formatting(
r#"
with (this) {
{
}
}
"#,
);
}

0 comments on commit 5bcaf27

Please sign in to comment.