--- source: crates/rome_formatter_test/src/snapshot_builder.rs info: test_file: js/comments/html-like/comment.js --- # Input ```js ``` # Prettier differences ```diff --- Prettier +++ Rome @@ -1,3 +1,3 @@ ``` # Output ```js ``` # Errors ``` comment.js:1:1 parse ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ × Expected an expression for the left hand side of the `<` operator. > 1 │ i This operator requires a left hand side value comment.js:2:1 parse ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ × Invalid assignment to `alert(1)` 1 │ i This expression cannot be assigned to comment.js:3:3 parse ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ × expected an identifier, or a member expression but instead found '>' 1 │ │ ^ i Expected an identifier, or a member expression here 1 │ │ ^ comment.js:3:4 parse ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ × expected an expression but instead found the end of the file 1 │ │ i Expected an expression here 1 │ │ ```