aboutsummaryrefslogtreecommitdiffstats
path: root/tests/indent/php_spec.lua
diff options
context:
space:
mode:
authorgbprod <contact@gb-prod.fr>2022-10-06 09:17:35 +0200
committerStephan Seitz <stephan.seitz@fau.de>2022-10-06 08:55:11 -0400
commit84e23bd979ac17307e9cb5d93c6ec5b5a5bf1ba0 (patch)
treea8b33d9e1dd03cf6d3a9cf6a0737c90200ca1411 /tests/indent/php_spec.lua
parentUpdate lockfile.json (diff)
downloadnvim-treesitter-84e23bd979ac17307e9cb5d93c6ec5b5a5bf1ba0.tar
nvim-treesitter-84e23bd979ac17307e9cb5d93c6ec5b5a5bf1ba0.tar.gz
nvim-treesitter-84e23bd979ac17307e9cb5d93c6ec5b5a5bf1ba0.tar.bz2
nvim-treesitter-84e23bd979ac17307e9cb5d93c6ec5b5a5bf1ba0.tar.lz
nvim-treesitter-84e23bd979ac17307e9cb5d93c6ec5b5a5bf1ba0.tar.xz
nvim-treesitter-84e23bd979ac17307e9cb5d93c6ec5b5a5bf1ba0.tar.zst
nvim-treesitter-84e23bd979ac17307e9cb5d93c6ec5b5a5bf1ba0.zip
Fix php indent for short array declaration
Diffstat (limited to 'tests/indent/php_spec.lua')
-rw-r--r--tests/indent/php_spec.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/indent/php_spec.lua b/tests/indent/php_spec.lua
index 2ce64ab59..d0b08aa6c 100644
--- a/tests/indent/php_spec.lua
+++ b/tests/indent/php_spec.lua
@@ -22,5 +22,6 @@ describe("indent PHP:", function()
)
run:new_line("issue-2497.php", { on_line = 5, text = "$a =", indent = 4 })
run:new_line("unfinished-call.php", { on_line = 6, text = "$a =", indent = 0 })
+ run:new_line("issue-3591.php", { on_line = 4, text = "$a =", indent = 8 })
end)
end)