--- source: crates/rome_formatter_test/src/snapshot_builder.rs info: test_file: js/range/nested3.js --- # Input ```js try { 1;if (condition) { body } } catch (err) {} ``` # Prettier differences ```diff --- Prettier +++ Rome @@ -1,6 +1,7 @@ try { - 1; - if (condition) { - body; - } -} catch (err) {} +1; +if (condition) { + body; +} +} +catch (err) {} ``` # Output ```js try { 1; if (condition) { body; } } catch (err) {} ```