21 lines
No EOL
625 B
TypeScript
21 lines
No EOL
625 B
TypeScript
/// <reference path='fourslash.ts'/>
|
|
|
|
////function Foo() {
|
|
//// var x;
|
|
//// switch (x) {
|
|
//// {| "indentation": 8 |}
|
|
//// }
|
|
//// {| "indentation": 4 |}
|
|
//// switch (x) {
|
|
//// {| "indentation": 8 |}
|
|
//// case 1:
|
|
//// {| "indentation": 12 |}
|
|
//// break;
|
|
//// {| "indentation": 12 |} // content of case clauses is always indented relatively to case clause
|
|
//// }
|
|
//// {| "indentation": 4 |}
|
|
////}
|
|
|
|
test.markers().forEach((marker) => {
|
|
verify.indentationAtPositionIs(marker.fileName, marker.position, marker.data.indentation);
|
|
}); |