From 3ef2c77e13c8e3a932416781e3ffb99844425f66 Mon Sep 17 00:00:00 2001 From: Munif Tanjim Date: Sat, 26 Feb 2022 20:29:26 +0600 Subject: fix(indent): ecma - parenthesized expression indentation --- tests/indent/javascript_spec.lua | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tests/indent/javascript_spec.lua') diff --git a/tests/indent/javascript_spec.lua b/tests/indent/javascript_spec.lua index 6af93c190..ff4dcb800 100644 --- a/tests/indent/javascript_spec.lua +++ b/tests/indent/javascript_spec.lua @@ -60,6 +60,12 @@ describe("indent JavaScript:", function() { 19, 2 }, { 20, 2 }, { 25, 2 }, + { 42, 8 }, + { 43, 10 }, + { 44, 12 }, + { 48, 4 }, + { 49, 4 }, + { 50, 2 }, } do run:new_line("ecma/func.js", { on_line = info[1], text = "//", indent = info[2] }, info[3], info[4]) -- cgit v1.2.3-70-g09d2