--- source: crates/rome_formatter_test/src/snapshot_builder.rs info: test_file: js/pipeline-operator/block-comments.js --- # Input ```js bifornCringerMoshedPerplexSawder |> foo1 |> foo2 /* comment1 */ |> foo3 /* comment2 */ |> kochabCooieGameOnOboleUnweave |> glimseGlyphsHazardNoopsTieTie; ``` # Prettier differences ```diff --- Prettier +++ Rome @@ -1,6 +1,6 @@ bifornCringerMoshedPerplexSawder - |> foo1 - |> foo2 /* comment1 */ - |> foo3 /* comment2 */ - |> kochabCooieGameOnOboleUnweave - |> glimseGlyphsHazardNoopsTieTie; +|> foo1 +|> foo2 /* comment1 */ +|> foo3 /* comment2 */ +|> kochabCooieGameOnOboleUnweave +|> glimseGlyphsHazardNoopsTieTie; ``` # Output ```js bifornCringerMoshedPerplexSawder |> foo1 |> foo2 /* comment1 */ |> foo3 /* comment2 */ |> kochabCooieGameOnOboleUnweave |> glimseGlyphsHazardNoopsTieTie; ``` # Errors ``` block-comments.js:2:2 parse ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ × Expected an expression for the left hand side of the `>` operator. 1 │ bifornCringerMoshedPerplexSawder > 2 │ |> foo1 │ ^ 3 │ |> foo2 /* comment1 */ 4 │ |> foo3 /* comment2 */ i This operator requires a left hand side value block-comments.js:3:2 parse ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ × Expected an expression for the left hand side of the `>` operator. 1 │ bifornCringerMoshedPerplexSawder 2 │ |> foo1 > 3 │ |> foo2 /* comment1 */ │ ^ 4 │ |> foo3 /* comment2 */ 5 │ |> kochabCooieGameOnOboleUnweave i This operator requires a left hand side value block-comments.js:4:2 parse ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ × Expected an expression for the left hand side of the `>` operator. 2 │ |> foo1 3 │ |> foo2 /* comment1 */ > 4 │ |> foo3 /* comment2 */ │ ^ 5 │ |> kochabCooieGameOnOboleUnweave 6 │ |> glimseGlyphsHazardNoopsTieTie; i This operator requires a left hand side value block-comments.js:5:2 parse ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ × Expected an expression for the left hand side of the `>` operator. 3 │ |> foo2 /* comment1 */ 4 │ |> foo3 /* comment2 */ > 5 │ |> kochabCooieGameOnOboleUnweave │ ^ 6 │ |> glimseGlyphsHazardNoopsTieTie; 7 │ i This operator requires a left hand side value block-comments.js:6:2 parse ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ × Expected an expression for the left hand side of the `>` operator. 4 │ |> foo3 /* comment2 */ 5 │ |> kochabCooieGameOnOboleUnweave > 6 │ |> glimseGlyphsHazardNoopsTieTie; │ ^ 7 │ i This operator requires a left hand side value ```