TypeScript/tests/cases/fourslash/smartIndentOnUnclosedFunctionDeclaration03.ts

12 lines
291 B
TypeScript
Raw Normal View History

2015-03-17 07:19:21 +01:00
/// <reference path='fourslash.ts' />
////function f<A,B,C>/*1*/
function verifyIndentationAfterNewLine(marker: string, indentation: number): void {
goTo.marker(marker);
2018-01-12 02:43:27 +01:00
edit.insert("\n");
2015-03-17 07:19:21 +01:00
verify.indentationIs(indentation);
}
verifyIndentationAfterNewLine("1", 4);