Add indentation tests

This commit is contained in:
Bruno BELANYI 2024-04-13 17:04:55 +01:00
parent f8f328fa17
commit 0ca28eb2e9
3 changed files with 97 additions and 0 deletions

View file

@ -0,0 +1,22 @@
foo = 1 + 2
foo = [
1,
2,
3,
]
foo = {
foo: [
"bar",
],
},
foo = {
foo: [
"bar",
{
key: "value",
},
],
},

28
test/indent/select.bp Normal file
View file

@ -0,0 +1,28 @@
foo = select(variant("VARIANT"), {
"x86": "my_x86",
"x86_64": [
"x86",
"x64",
],
"arm": {
some: "aarch",
value: "aarch64",
},
default: 0,
})
foo = select(
variant("VARIANT"),
{
"x86": "my_x86",
"x86_64": [
"x86",
"x64",
],
"arm": {
some: "aarch",
value: "aarch64",
},
default: 0,
}
)