aboutsummaryrefslogtreecommitdiffstats
path: root/tests/indent/yaml_spec.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tests/indent/yaml_spec.lua')
-rw-r--r--tests/indent/yaml_spec.lua16
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/indent/yaml_spec.lua b/tests/indent/yaml_spec.lua
index 91c60c227..001bc01f1 100644
--- a/tests/indent/yaml_spec.lua
+++ b/tests/indent/yaml_spec.lua
@@ -1,20 +1,20 @@
-local Runner = require("tests.indent.common").Runner
+local Runner = require('tests.indent.common').Runner
--local XFAIL = require("tests.indent.common").XFAIL
-local run = Runner:new(it, "tests/indent/yaml", {
+local run = Runner:new(it, 'tests/indent/yaml', {
shiftwidth = 2,
expandtab = true,
})
-describe("indent YAML:", function()
- describe("whole file:", function()
- run:whole_file(".", {
+describe('indent YAML:', function()
+ describe('whole file:', function()
+ run:whole_file('.', {
expected_failures = {},
})
end)
- describe("new line:", function()
- run:new_line("indent-sequence-items.yaml", { on_line = 2, text = "key3: value3", indent = 2 })
- run:new_line("autoindent-mapping-pair.yaml", { on_line = 1, text = "key3: value3", indent = 2 })
+ describe('new line:', function()
+ run:new_line('indent-sequence-items.yaml', { on_line = 2, text = 'key3: value3', indent = 2 })
+ run:new_line('autoindent-mapping-pair.yaml', { on_line = 1, text = 'key3: value3', indent = 2 })
end)
end)