From 7bc40cead8511cdb4b475b7f67a7e3a05d9a7bf8 Mon Sep 17 00:00:00 2001 From: Kagami Sascha Rosylight Date: Sun, 4 Nov 2018 16:30:38 +0900 Subject: [PATCH] indent size 8 based on list startline indentation --- tests/cases/fourslash/indentationInAmdIife.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/cases/fourslash/indentationInAmdIife.ts b/tests/cases/fourslash/indentationInAmdIife.ts index f735ae57eb2..b6800e5ad62 100644 --- a/tests/cases/fourslash/indentationInAmdIife.ts +++ b/tests/cases/fourslash/indentationInAmdIife.ts @@ -2,7 +2,7 @@ //// function foo(a?,b?) { b(a); } //// -//// (foo)(1, function() {/*4_0*/ +//// (foo)(1, function() {/*4_1*/ //// }); //// //// // No line-breaks in the expression part of the call expression @@ -20,7 +20,7 @@ //// // Contains line-breaks in the expression part of the call expression. //// //// ( -//// foo)(1, function () {/*4_1*/ +//// foo)(1, function () {/*8_4*/ //// }); //// (foo //// )(1, function () {/*4_3*/ @@ -38,14 +38,14 @@ //// {/*4_4*/ //// }); -for (let i = 0; i < 5; ++i) { +for (let i = 1; i < 5; ++i) { goTo.marker(`4_${i}`); edit.insertLine(""); verify.indentationIs(4); } -for (let i = 1; i < 4; ++i) { +for (let i = 1; i < 5; ++i) { goTo.marker(`8_${i}`); edit.insertLine(""); verify.indentationIs(8); -} \ No newline at end of file +}