Skip to content

Commit 563b92c

Browse files
committed
update test baselines
1 parent 641e659 commit 563b92c

File tree

4 files changed

+6
-13
lines changed

4 files changed

+6
-13
lines changed

tests/cases/fourslash/noSmartIndentInsideMultilineString.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,4 @@
88

99
goTo.marker("1");
1010
edit.insert("\r\n");
11-
// Won't-fixed: Disable SmartIndent inside multiline string in TS. Should be 0
12-
verify.indentationIs(8);
11+
verify.indentationIs(0);

tests/cases/fourslash/smartIndentInsideMultilineString.ts

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,11 @@
2121
//// }
2222
////}
2323

24-
// Behavior below is not ideal, ideal is in comments
2524
goTo.marker("1");
26-
//verify.indentationIs(0);
27-
verify.indentationIs(8);
25+
verify.indentationIs(0);
2826

2927
goTo.marker("2");
30-
//verify.indentationIs(0);
31-
verify.indentationIs(4);
28+
verify.indentationIs(0);
3229

3330
goTo.marker("3");
34-
//verify.indentationIs(0);
35-
verify.indentationIs(12);
31+
verify.indentationIs(0);

tests/cases/fourslash/smartIndentStatementSwitch.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
//// case 1:
1212
//// {| "indentation": 12 |}
1313
//// break;
14-
//// {| "indentation": 8 |}
14+
//// {| "indentation": 12 |} // content of case clauses is always indented relatively to case clause
1515
//// }
1616
//// {| "indentation": 4 |}
1717
////}

tests/cases/fourslash/switchIndenting.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,4 @@
88
goTo.marker();
99
edit.insert('case 1:\n');
1010

11-
// ideally would be 8
12-
//verify.indentationIs(8);
13-
verify.indentationIs(4);
11+
verify.indentationIs(8);

0 commit comments

Comments
 (0)