TypeScript/tests/cases/fourslash/multilineCommentBeforeOpenBrace.ts
2014-12-14 12:22:36 -08:00

18 lines
420 B
TypeScript

/// <reference path='fourslash.ts' />
////function test() /*1*//* %^ */
////{
//// if (true) /*2*//* %^ */
//// {
//// }
////}
////function a() {
//// /* %^ */ }/*3*/
format.document();
goTo.marker('1');
verify.currentLineContentIs('function test() /* %^ */ {');
goTo.marker('2');
verify.currentLineContentIs(' if (true) /* %^ */ {');
goTo.marker('3');
verify.currentLineContentIs('}');