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