TypeScript/tests/cases/fourslash/smartIndentOnUnclosedFunctionDeclaration01.ts
2015-03-16 23:19:21 -07:00

13 lines
331 B
TypeScript

/// <reference path='fourslash.ts' />
////function /*1*/f/*2*/
function verifyIndentationAfterNewLine(marker: string, indentation: number): void {
goTo.marker(marker);
edit.insert("\r\n");
verify.indentationIs(indentation);
}
verifyIndentationAfterNewLine("1", 4);
verifyIndentationAfterNewLine("2", 4);