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

12 lines
291 B
TypeScript

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