2014-10-14 01:59:10 +02:00
|
|
|
/// <reference path='fourslash.ts'/>
|
|
|
|
|
|
|
|
////interface /*1*/i {
|
|
|
|
////}
|
|
|
|
////var /*2*/iInstance: /*3*/i;
|
|
|
|
|
|
|
|
goTo.marker('1');
|
2014-11-21 07:36:27 +01:00
|
|
|
verify.verifyQuickInfoDisplayParts("interface", "", { start: test.markerByName("1").position, length: "i".length },
|
2014-10-14 01:59:10 +02:00
|
|
|
[{ text: "interface", kind: "keyword" }, { text: " ", kind: "space" }, { text: "i", kind: "interfaceName" }],
|
|
|
|
[]);
|
|
|
|
|
|
|
|
goTo.marker('2');
|
2014-11-21 07:36:27 +01:00
|
|
|
verify.verifyQuickInfoDisplayParts("var", "", { start: test.markerByName("2").position, length: "iInstance".length },
|
2014-10-14 01:59:10 +02:00
|
|
|
[{ text: "(", kind: "punctuation" }, { text: "var", kind: "text" }, { text: ")", kind: "punctuation" },
|
|
|
|
{ text: " ", kind: "space" }, { text: "iInstance", kind: "localName" }, { text: ":", kind: "punctuation" },
|
|
|
|
{ text: " ", kind: "space" }, { text: "i", kind: "interfaceName" }],
|
|
|
|
[]);
|
|
|
|
|
|
|
|
goTo.marker('3');
|
2014-11-21 07:36:27 +01:00
|
|
|
verify.verifyQuickInfoDisplayParts("interface", "", { start: test.markerByName("3").position, length: "i".length },
|
2014-10-14 01:59:10 +02:00
|
|
|
[{ text: "interface", kind: "keyword" }, { text: " ", kind: "space" }, { text: "i", kind: "interfaceName" }],
|
|
|
|
[]);
|