2014-07-13 01:04:16 +02:00
|
|
|
/// <reference path='fourslash.ts'/>
|
|
|
|
|
|
|
|
////function Foo() {
|
|
|
|
//// var x;
|
|
|
|
//// switch (x) {
|
|
|
|
//// {| "indentation": 8 |}
|
|
|
|
//// }
|
|
|
|
//// {| "indentation": 4 |}
|
|
|
|
//// switch (x) {
|
|
|
|
//// {| "indentation": 8 |}
|
|
|
|
//// case 1:
|
|
|
|
//// {| "indentation": 12 |}
|
|
|
|
//// break;
|
2014-09-11 19:54:30 +02:00
|
|
|
//// {| "indentation": 12 |} // content of case clauses is always indented relatively to case clause
|
2014-07-13 01:04:16 +02:00
|
|
|
//// }
|
|
|
|
//// {| "indentation": 4 |}
|
|
|
|
////}
|
|
|
|
|
|
|
|
test.markers().forEach((marker) => {
|
|
|
|
verify.indentationAtPositionIs(marker.fileName, marker.position, marker.data.indentation);
|
|
|
|
});
|