fix(indent): ecma - parenthesized expression indentation

This commit is contained in:
Munif Tanjim 2022-02-26 20:29:26 +06:00 committed by Stephan Seitz
parent 20168d8e20
commit 3ef2c77e13
3 changed files with 21 additions and 0 deletions

View file

@ -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])