From 48d88ddbff301d69703f0942c75603d545670782 Mon Sep 17 00:00:00 2001 From: Zheng Piaodan Date: Sat, 13 Aug 2022 16:56:02 +0800 Subject: fix(ruby): indent of brackets & parens --- tests/indent/ruby_spec.lua | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tests/indent/ruby_spec.lua') 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 }) -- cgit v1.2.3-70-g09d2