TypeScript/tests/cases/fourslash/tabbingAfterNewlineInsertedBeforeWhile.ts

11 lines
279 B
TypeScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
/// <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) { }');