1
Fork 0
mirror of https://github.com/RGBCube/alejandra synced 2025-07-29 19:47:45 +00:00

test: add same line comment cases

This commit is contained in:
Kevin Amado 2022-02-16 21:33:37 -05:00
parent 635ba7a186
commit 675e07a5cf
No known key found for this signature in database
GPG key ID: FFF341057F503148
3 changed files with 34 additions and 0 deletions

View file

@ -3,6 +3,7 @@
set -euo pipefail
wasm-pack build --target web
rm -rf node_modules/
yarn install
yarn build

View file

@ -41,4 +41,17 @@
/* test
* test
*/
[
a # comment
]
{
a = 123; # comment
}
({
a, # comment
b ? 2,# comment
}: _)
]

View file

@ -48,4 +48,24 @@
test
* test
*/
[
a
# comment
]
{
a = 123;
# comment
}
(
{
a,
# comment
b ? 2,
# comment
}:
_
)
]