TypeScript/tests/cases/fourslash/tabbingAfterNewlineInsertedBeforeWhile.ts
2014-07-29 12:17:44 -07:00

11 lines
279 B
TypeScript

/// <reference path='fourslash.ts' />
////function foo() {
//// /**/while (true) { }
////}
goTo.marker();
edit.insertLine('');
// Enter' should smart indent such that the current line maintains its indentation
verify.currentLineContentIs(' while (true) { }');