--- source: crates/biome_formatter_test/src/snapshot_builder.rs info: css/yaml/malformed.css --- # Input ```css --- aaa b--- a { color: red; } ``` # Prettier differences ```diff --- Prettier +++ Biome @@ -1,3 +1,7 @@ ---- aaa b--- a { - color: red; +--- +aaa +b--- + +a { + color: red; } ``` # Output ```css --- aaa b--- a { color: red; } ``` # Errors ``` malformed.css:1:1 parse ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ × Expected a qualified rule, or an at rule but instead found '---'. > 1 │ --- │ ^^^ 2 │ aaa 3 │ b--- i Expected a qualified rule, or an at rule here. > 1 │ --- │ ^^^ 2 │ aaa 3 │ b--- malformed.css:3:1 parse ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ × expected `,` but instead found `b---` 1 │ --- 2 │ aaa > 3 │ b--- │ ^^^^ 4 │ 5 │ a { i Remove b--- malformed.css:5:1 parse ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ × expected `,` but instead found `a` 3 │ b--- 4 │ > 5 │ a { │ ^ 6 │ color: red; 7 │ } i Remove a ```