TypeScript/tests/cases/fourslash/constructorBraceFormatting.ts
2014-07-29 12:17:23 -07:00

10 lines
283 B
TypeScript

/// <reference path="fourslash.ts"/>
////class X {
//// constructor () {}/*target*/
//// /**/
goTo.marker();
edit.insert("}");
goTo.marker("target");
verify.currentLineContentIs(" constructor() { }"); // <-- Remove the space before LParen, and add one before RBrace.