Skip to content

Commit 8573631

Browse files
author
Arthur Ozga
committed
Rename Tests
1 parent 4b07377 commit 8573631

8 files changed

+21
-18
lines changed

tests/cases/fourslash/tripleSlashRefPathAbsolutePaths.ts renamed to tests/cases/fourslash/tripleSlashRefPathCompletionAbsolutePaths.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/// <reference path='fourslash.ts' />
22

3-
// Should give completions for absolute paths
3+
// Offers completions for absolute paths.
44

55
// @Filename: tests/test0.ts
66
//// /// <reference path="/tests/cases/f/*0*/

tests/cases/fourslash/tripleSlashRefPathHiddenFile.ts renamed to tests/cases/fourslash/tripleSlashRefPathCompletionHiddenFile.ts

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,8 @@
1313
//// /// <reference path=".//*2*/
1414
//// /// <reference path=".\/*3*/
1515

16-
for(let m of ["0", "2", "3"]) {
16+
for(let m of ["0", "1", "2", "3"]) {
1717
goTo.marker(m);
1818
verify.completionListContains("f.ts");
19-
verify.completionListContains(".hidden.ts");
20-
verify.not.completionListItemsCountIsGreaterThan(2);
21-
}
22-
23-
goTo.marker("1");
24-
verify.completionListContains(".hidden.ts");
25-
verify.not.completionListItemsCountIsGreaterThan(1);
19+
verify.not.completionListItemsCountIsGreaterThan(1);
20+
}

tests/cases/fourslash/tripleSlashRefPathCompletionNarrowing.ts

Lines changed: 17 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,16 @@
1414
//// /// <reference path="f/*0*/
1515
//// /// <reference path="./f/*1*/
1616

17-
//// /// <reference path="f1/*2*/
18-
//// /// <reference path="f1./*3*/
19-
//// /// <reference path="f1.t/*4*/
20-
//// /// <reference path="f1.ts/*5*/
21-
//// /// <reference path="./f1/*6*/
22-
//// /// <reference path="./f1./*7*/
23-
//// /// <reference path="./f1.t/*8*/
24-
//// /// <reference path="./f1.ts/*9*/
17+
//// /// <reference path="./d/*2*/
18+
19+
//// /// <reference path="f1/*3*/
20+
//// /// <reference path="f1./*4*/
21+
//// /// <reference path="f1.t/*5*/
22+
//// /// <reference path="f1.ts/*6*/
23+
//// /// <reference path="./f1/*7*/
24+
//// /// <reference path="./f1./*8*/
25+
//// /// <reference path="./f1.t/*9*/
26+
//// /// <reference path="./f1.ts/*10*/
2527

2628
for (let m of ["0", "1"]) {
2729
goTo.marker(m);
@@ -30,7 +32,13 @@ for (let m of ["0", "1"]) {
3032
verify.not.completionListItemsCountIsGreaterThan(2);
3133
}
3234

33-
for (let m = 2; m < 10; ++m) {
35+
goTo.marker("2");
36+
verify.completionListContains("d");
37+
verify.not.completionListItemsCountIsGreaterThan(1);
38+
39+
40+
41+
for (let m = 3; m < 11; ++m) {
3442
goTo.marker("" + m);
3543
verify.completionListContains("f1.ts");
3644
verify.not.completionListItemsCountIsGreaterThan(1);

0 commit comments

Comments
 (0)