---
source: crates/rome_formatter_test/src/snapshot_builder.rs
info:
test_file: jsx/fbt/test.js
---
# Input
```js
x =
First
,
Second
x =
First
,
Second
x =
First,Second
x =
First
,
Second
x =
Prefix comes before
suffix
x =
Prefix comes before
suffix
suffix
x =
Count Chocula knows the the number
is awesome
x = (
{hour}:{minute}:{second}
);
x = (
{hour}
:
{minute}
:
{second}
);
x = (
{hour}:
{minute}:
{second}
);
first = (
Text
More text
And more
);
second = (
Text More text And more
);
third = (
Text
More text
And more
);
```
# Prettier differences
```diff
--- Prettier
+++ Rome
@@ -1,15 +1,12 @@
x = (
- First,
- Second
+ First,Second
);
x = (
- First
- ,
- Second
+ First,Second
);
@@ -62,33 +59,35 @@
x = (
- {hour}
- :
- {minute}
- :
- {second}
+ {hour}:{minute}:{second}
);
x = (
- {hour}:
- {minute}:
- {second}
+ {hour}:{minute}:{second}
);
first = (
- Text
- More text
- And more
+ Text
+
+ More text
+
+ And more
+
);
second = (
- Text More text And more
+ Text
+
+ More text
+
+ And more
+
);
```
# Output
```js
x = (
First,Second
);
x = (
First,Second
);
x = (
First,Second
);
x = (
First,Second
);
x = (
Prefix comes before
suffix
);
x = (
Prefix comes before
suffix
suffix
);
x = (
Count Chocula knows the the number
is awesome
);
x = (
{hour}:{minute}:{second}
);
x = (
{hour}:{minute}:{second}
);
x = (
{hour}:{minute}:{second}
);
first = (
Text
More text
And more
);
second = (
Text
More text
And more
);
third = (
Text
More text
And more
);
```