1
Fork 0
mirror of https://github.com/RGBCube/alejandra synced 2025-07-30 12:07:46 +00:00

Merge pull request #118 from kamadorueda/kamadorueda

test: add same line comment cases
This commit is contained in:
Kevin Amado 2022-02-16 21:40:05 -05:00 committed by GitHub
commit e3ab34b341
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 34 additions and 0 deletions

View file

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

View file

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

View file

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