diff --git a/tests/cases/fourslash/noSmartIndentInsideMultilineString.ts b/tests/cases/fourslash/noSmartIndentInsideMultilineString.ts index 9018a54b33..692dfe7075 100644 --- a/tests/cases/fourslash/noSmartIndentInsideMultilineString.ts +++ b/tests/cases/fourslash/noSmartIndentInsideMultilineString.ts @@ -8,5 +8,4 @@ goTo.marker("1"); edit.insert("\r\n"); -// Won't-fixed: Disable SmartIndent inside multiline string in TS. Should be 0 -verify.indentationIs(8); \ No newline at end of file +verify.indentationIs(0); \ No newline at end of file diff --git a/tests/cases/fourslash/smartIndentInsideMultilineString.ts b/tests/cases/fourslash/smartIndentInsideMultilineString.ts index 8ad4430455..24a20844a9 100644 --- a/tests/cases/fourslash/smartIndentInsideMultilineString.ts +++ b/tests/cases/fourslash/smartIndentInsideMultilineString.ts @@ -21,15 +21,11 @@ //// } ////} -// Behavior below is not ideal, ideal is in comments goTo.marker("1"); -//verify.indentationIs(0); -verify.indentationIs(8); +verify.indentationIs(0); goTo.marker("2"); -//verify.indentationIs(0); -verify.indentationIs(4); +verify.indentationIs(0); goTo.marker("3"); -//verify.indentationIs(0); -verify.indentationIs(12); \ No newline at end of file +verify.indentationIs(0); \ No newline at end of file diff --git a/tests/cases/fourslash/smartIndentStatementSwitch.ts b/tests/cases/fourslash/smartIndentStatementSwitch.ts index 902abe4e3e..e8d2a02948 100644 --- a/tests/cases/fourslash/smartIndentStatementSwitch.ts +++ b/tests/cases/fourslash/smartIndentStatementSwitch.ts @@ -11,7 +11,7 @@ //// case 1: //// {| "indentation": 12 |} //// break; -//// {| "indentation": 8 |} +//// {| "indentation": 12 |} // content of case clauses is always indented relatively to case clause //// } //// {| "indentation": 4 |} ////} diff --git a/tests/cases/fourslash/switchIndenting.ts b/tests/cases/fourslash/switchIndenting.ts index 3fee7ba2e4..8ea6f26408 100644 --- a/tests/cases/fourslash/switchIndenting.ts +++ b/tests/cases/fourslash/switchIndenting.ts @@ -8,6 +8,4 @@ goTo.marker(); edit.insert('case 1:\n'); -// ideally would be 8 -//verify.indentationIs(8); -verify.indentationIs(4); +verify.indentationIs(8); \ No newline at end of file