TypeScript/tests/cases/fourslash/multilineCommentBeforeOpenBrace.ts

18 lines
420 B
TypeScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
/// <reference path='fourslash.ts' />
////function test() /*1*//* %^ */
////{
//// if (true) /*2*//* %^ */
//// {
//// }
////}
////function a() {
//// /* %^ */ }/*3*/
2014-07-13 01:04:16 +02:00
format.document();
goTo.marker('1');
2014-11-11 04:04:57 +01:00
verify.currentLineContentIs('function test() /* %^ */ {');
2014-07-13 01:04:16 +02:00
goTo.marker('2');
2014-11-11 04:04:57 +01:00
verify.currentLineContentIs(' if (true) /* %^ */ {');
2014-07-13 01:04:16 +02:00
goTo.marker('3');
verify.currentLineContentIs('}');