TypeScript/tests/cases/fourslash/smartIndentStatementWith.ts

16 lines
302 B
TypeScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
/// <reference path='fourslash.ts'/>
////function Foo() {
//// var obj = { a: 'foo' };
//// with (obj) {
//// /*insideStatement*/
//// }
//// /*afterStatement*/
////}
goTo.marker('insideStatement');
verify.indentationIs(8);
goTo.marker('afterStatement');
verify.indentationIs(4);