2014-07-13 01:04:16 +02:00
|
|
|
/// <reference path='fourslash.ts' />
|
|
|
|
|
|
|
|
////function test() /*1*//* %^ */
|
|
|
|
////{
|
|
|
|
//// if (true) /*2*//* %^ */
|
|
|
|
//// {
|
|
|
|
//// }
|
|
|
|
////}
|
|
|
|
////function a() {
|
|
|
|
//// /* %^ */ }/*3*/
|
2014-12-14 21:22:36 +01:00
|
|
|
|
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('}');
|