2015-03-02 23:41:44 +01:00
|
|
|
/// <reference path="fourslash.ts" />
|
|
|
|
|
|
|
|
/////*1*/class test { constructor () { } }
|
|
|
|
format.document();
|
|
|
|
goTo.marker("1");
|
2016-12-20 17:05:10 +01:00
|
|
|
verify.currentLineContentIs("class test { constructor() { } }");
|
|
|
|
|
|
|
|
/////*2*/class test { constructor () { } }
|
|
|
|
format.setOption("InsertSpaceAfterConstructor", true);
|
|
|
|
|
|
|
|
format.document();
|
|
|
|
goTo.marker("2");
|
|
|
|
verify.currentLineContentIs("class test { constructor () { } }");
|