aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/indent/lua/string.lua4
-rw-r--r--tests/indent/lua_spec.lua1
2 files changed, 5 insertions, 0 deletions
diff --git a/tests/indent/lua/string.lua b/tests/indent/lua/string.lua
index adfebf76a..f44fc7231 100644
--- a/tests/indent/lua/string.lua
+++ b/tests/indent/lua/string.lua
@@ -3,3 +3,7 @@ a
multiline
string
]]
+
+print [[
+test
+]]
diff --git a/tests/indent/lua_spec.lua b/tests/indent/lua_spec.lua
index b54ec6512..6d99a0fff 100644
--- a/tests/indent/lua_spec.lua
+++ b/tests/indent/lua_spec.lua
@@ -28,6 +28,7 @@ describe("indent Lua:", function()
run:new_line("string.lua", { on_line = 2, text = "x", indent = 0 })
run:new_line("string.lua", { on_line = 3, text = "x", indent = 2 })
run:new_line("string.lua", { on_line = 4, text = "x", indent = 4 })
+ run:new_line("string.lua", { on_line = 9, text = "x", indent = 0 })
run:new_line("table.lua", { on_line = 1, text = "b = 0,", indent = 2 })
run:new_line("table.lua", { on_line = 5, text = "4,", indent = 4 })
run:new_line("table.lua", { on_line = 7, text = "4,", indent = 4 })