From 563b92cdce7887eb12b3826b8b1907d44bd9f54a Mon Sep 17 00:00:00 2001 From: Vladimir Matveev Date: Thu, 11 Sep 2014 10:54:30 -0700 Subject: [PATCH] update test baselines --- .../fourslash/noSmartIndentInsideMultilineString.ts | 3 +-- .../fourslash/smartIndentInsideMultilineString.ts | 10 +++------- tests/cases/fourslash/smartIndentStatementSwitch.ts | 2 +- tests/cases/fourslash/switchIndenting.ts | 4 +--- 4 files changed, 6 insertions(+), 13 deletions(-) diff --git a/tests/cases/fourslash/noSmartIndentInsideMultilineString.ts b/tests/cases/fourslash/noSmartIndentInsideMultilineString.ts index 9018a54b33e..692dfe70758 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 8ad44304557..24a20844a90 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 902abe4e3e7..e8d2a02948d 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 3fee7ba2e49..8ea6f264087 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