summaryrefslogtreecommitdiff
path: root/tests/indent/lua/nested-table.lua
diff options
context:
space:
mode:
authorJędrzej Boczar <yendreij@gmail.com>2022-04-06 21:14:56 +0200
committerStephan Seitz <stephan.seitz@fau.de>2022-04-06 21:28:11 +0200
commit717fef738bd67b644e70d84182e9b285bf64f810 (patch)
treeeeba9d8c4bfab678494181674f516b6279b9c6dd /tests/indent/lua/nested-table.lua
parentab372a88ef5c7ba64c4274c03672405ffcaa27ba (diff)
fix(indent/lua): wrong for nested tables due to branch on opening pairs
Diffstat (limited to 'tests/indent/lua/nested-table.lua')
-rw-r--r--tests/indent/lua/nested-table.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/indent/lua/nested-table.lua b/tests/indent/lua/nested-table.lua
new file mode 100644
index 00000000..cf507d1d
--- /dev/null
+++ b/tests/indent/lua/nested-table.lua
@@ -0,0 +1,7 @@
+local a = {
+ {
+ {
+ 1
+ },
+ },
+}