2016-09-29 01:04:39 +02:00
|
|
|
/// <reference path='fourslash.ts' />
|
|
|
|
|
|
|
|
// Exercises completions for hidden files (ie: those beginning with '.')
|
|
|
|
|
2016-09-29 01:45:52 +02:00
|
|
|
// @Filename: f.ts
|
|
|
|
//// /*f*/
|
2016-09-29 01:04:39 +02:00
|
|
|
// @Filename: .hidden.ts
|
|
|
|
//// /*hidden*/
|
|
|
|
|
|
|
|
// @Filename: test.ts
|
|
|
|
//// /// <reference path="/*0*/
|
2018-03-28 00:15:50 +02:00
|
|
|
//// /// <reference path="[|./*1*/|]
|
2016-09-29 01:04:39 +02:00
|
|
|
//// /// <reference path=".//*2*/
|
|
|
|
//// /// <reference path=".\/*3*/
|
|
|
|
|
2018-10-29 18:03:25 +01:00
|
|
|
verify.completions(
|
|
|
|
{ marker: ["0", "2", "3"], exact: "f.ts", isNewIdentifierLocation: true },
|
|
|
|
{ marker: "1", exact: { name: "f.ts", replacementSpan: test.ranges()[0] }, isNewIdentifierLocation: true },
|
|
|
|
);
|