fix(ecma): indent end for bracket (#3121)

This commit is contained in:
Kiyan 2022-07-07 14:35:12 +02:00 committed by GitHub
parent 5dfbbcc46e
commit 6f3fbb2622
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 0 deletions

View file

@ -25,6 +25,8 @@ describe("indent JavaScript:", function()
run:new_line("ecma/binary_expression.js", { on_line = info[1], text = "//", indent = info[2] }, info[3], info[4])
end
run:new_line("ecma/new-line-after-class.js", { on_line = 2, text = "", indent = 0 })
for _, info in ipairs {
{ 4, 2 },
{ 6, 0 },