TypeScript/tests/cases/fourslash/smartIndentOnUnclosedFunctionDeclaration01.ts
2018-01-17 15:18:54 -08:00

13 lines
329 B
TypeScript

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