aboutsummaryrefslogtreecommitdiffstats
path: root/tests/indent/ruby_spec.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tests/indent/ruby_spec.lua')
-rw-r--r--tests/indent/ruby_spec.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/indent/ruby_spec.lua b/tests/indent/ruby_spec.lua
index f182b45dd..1653aaa87 100644
--- a/tests/indent/ruby_spec.lua
+++ b/tests/indent/ruby_spec.lua
@@ -6,6 +6,12 @@ local run = Runner:new(it, "tests/indent/ruby", {
})
describe("indent Ruby:", function()
+ describe("whole file:", function()
+ run:whole_file(".", {
+ expected_failures = {},
+ })
+ end)
+
describe("new line:", function()
run:new_line("indent-unless.rb", { on_line = 1, text = "stmt", indent = 2 })
run:new_line("indent-assignment.rb", { on_line = 1, text = "1 +", indent = 2 })