summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorStephan Seitz <stephan.seitz@fau.de>2022-02-05 13:49:21 +0100
committerStephan Seitz <stephan.seitz@fau.de>2022-02-05 18:54:55 +0100
commita14970861cd574048cc01f1a5d6ae184c2dfd64b (patch)
treed5af2f68052a9e76f7f37443e828d163cd48f8d5 /tests
parent693dae241d2e1c6dc48e620fe8a15346952a0664 (diff)
indents(lua): use `(comment) @auto`
Diffstat (limited to 'tests')
-rw-r--r--tests/indent/lua/comment.lua6
-rw-r--r--tests/indent/lua_spec.lua4
2 files changed, 1 insertions, 9 deletions
diff --git a/tests/indent/lua/comment.lua b/tests/indent/lua/comment.lua
index 36ed0153..9f3624e1 100644
--- a/tests/indent/lua/comment.lua
+++ b/tests/indent/lua/comment.lua
@@ -5,9 +5,3 @@
another
comment
--]]
-
- --[[
- another
- comment
- a bit more indented
- --]]
diff --git a/tests/indent/lua_spec.lua b/tests/indent/lua_spec.lua
index 17584a9e..b90c9b66 100644
--- a/tests/indent/lua_spec.lua
+++ b/tests/indent/lua_spec.lua
@@ -11,9 +11,7 @@ local run = Runner:new(it, "tests/indent/lua", {
describe("indent Lua:", function()
describe("whole file:", function()
run:whole_file(".", {
- expected_failures = {
- "./comment.lua",
- },
+ expected_failures = {},
})
end)