16 lines
344 B
TypeScript
16 lines
344 B
TypeScript
|
/// <reference path='fourslash.ts' />
|
||
|
|
||
|
/////*1*/class C
|
||
|
////{}/*2*/
|
||
|
/////*3*/if (true)
|
||
|
////{}/*4*/
|
||
|
|
||
|
format.document();
|
||
|
goTo.marker("1");
|
||
|
verify.currentLineContentIs("class C");
|
||
|
goTo.marker("2");
|
||
|
verify.currentLineContentIs("{ }");
|
||
|
goTo.marker("3");
|
||
|
verify.currentLineContentIs("if (true)");
|
||
|
goTo.marker("4");
|
||
|
verify.currentLineContentIs("{ }");
|