--- source: crates/biome_formatter_test/src/snapshot_builder.rs info: json/range/unary-expression-2.json --- # Input ```json - 2.00000 ``` # Prettier differences ```diff --- Prettier +++ Biome @@ -1 +1,2 @@ --2.0 +- +2.0 ``` # Output ```json - 2.0 ``` # Errors ``` unary-expression-2.json:1:1 parse ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ × Minus must be followed by a digit > 1 │ - │ ^ 2 │ 2.00000 3 │ unary-expression-2.json:2:1 parse ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ × End of file expected 1 │ - > 2 │ 2.00000 │ ^^^^^^^ 3 │ i Use an array for a sequence of values: `[1, 2]` ```