From 63ca90eaa3ce1cc668add8828a9e3d6728dbbdf1 Mon Sep 17 00:00:00 2001 From: Phạm Huy Hoàng Date: Sun, 3 Mar 2024 23:56:32 +0900 Subject: feat(swift): add will/didSet indent Fixes CI error in PR.6237 --- tests/indent/swift_spec.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tests/indent/swift_spec.lua') diff --git a/tests/indent/swift_spec.lua b/tests/indent/swift_spec.lua index 6ba0d2cf0..5f07ee825 100644 --- a/tests/indent/swift_spec.lua +++ b/tests/indent/swift_spec.lua @@ -15,7 +15,8 @@ describe("indent Swift:", function() run:new_line("declarations.swift", { on_line = 6, text = "var x = 1", indent = 2 }) run:new_line("declarations.swift", { on_line = 12, text = "var textInsideInit = true", indent = 4 }) run:new_line("declarations.swift", { on_line = 17, text = "var textInsideWillSet = 1", indent = 6 }) - run:new_line("declarations.swift", { on_line = 22, text = "var textInsideOverrideFunc", indent = 4 }) - run:new_line("declarations.swift", { on_line = 28, text = "var InsideProtocol: String { get }", indent = 2 }) + run:new_line("declarations.swift", { on_line = 20, text = "var textInsideDidSet = 1", indent = 6 }) + run:new_line("declarations.swift", { on_line = 25, text = "var textInsideOverrideFunc", indent = 4 }) + run:new_line("declarations.swift", { on_line = 31, text = "var InsideProtocol: String { get }", indent = 2 }) end) end) -- cgit v1.2.3-70-g09d2