aboutsummaryrefslogtreecommitdiffstats
path: root/tests/indent/meson_spec.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tests/indent/meson_spec.lua')
-rw-r--r--tests/indent/meson_spec.lua30
1 files changed, 15 insertions, 15 deletions
diff --git a/tests/indent/meson_spec.lua b/tests/indent/meson_spec.lua
index bc2372ee0..ba23965a6 100644
--- a/tests/indent/meson_spec.lua
+++ b/tests/indent/meson_spec.lua
@@ -1,28 +1,28 @@
-local Runner = require("tests.indent.common").Runner
+local Runner = require('tests.indent.common').Runner
-local run = Runner:new(it, "tests/indent/meson", {
+local run = Runner:new(it, 'tests/indent/meson', {
tabstop = 2,
shiftwidth = 2,
softtabstop = 0,
expandtab = true,
})
-describe("indent Meson:", function()
- describe("whole file:", function()
- run:whole_file(".", {
+describe('indent Meson:', function()
+ describe('whole file:', function()
+ run:whole_file('.', {
expected_failures = {},
})
end)
- describe("new line:", function()
- run:new_line("cond.meson", { on_line = 3, text = "foo()", indent = 2 })
- run:new_line("cond.meson", { on_line = 6, text = "foo()", indent = 2 })
- run:new_line("cond.meson", { on_line = 7, text = "foo()", indent = 2 })
- run:new_line("cond.meson", { on_line = 12, text = "foo()", indent = 2 })
- run:new_line("cond.meson", { on_line = 14, text = "foo()", indent = 2 })
- run:new_line("dict.meson", { on_line = 13, text = ",'x':1,", indent = 2 })
- run:new_line("loop.meson", { on_line = 3, text = "foo()", indent = 2 })
- run:new_line("loop.meson", { on_line = 7, text = "foo()", indent = 2 })
- run:new_line("ternary.meson", { on_line = 11, text = "x : y", indent = 2 })
+ describe('new line:', function()
+ run:new_line('cond.meson', { on_line = 3, text = 'foo()', indent = 2 })
+ run:new_line('cond.meson', { on_line = 6, text = 'foo()', indent = 2 })
+ run:new_line('cond.meson', { on_line = 7, text = 'foo()', indent = 2 })
+ run:new_line('cond.meson', { on_line = 12, text = 'foo()', indent = 2 })
+ run:new_line('cond.meson', { on_line = 14, text = 'foo()', indent = 2 })
+ run:new_line('dict.meson', { on_line = 13, text = ",'x':1,", indent = 2 })
+ run:new_line('loop.meson', { on_line = 3, text = 'foo()', indent = 2 })
+ run:new_line('loop.meson', { on_line = 7, text = 'foo()', indent = 2 })
+ run:new_line('ternary.meson', { on_line = 11, text = 'x : y', indent = 2 })
end)
end)