Skip to content

Commit 6553413

Browse files
author
Arthur Ozga
committed
New Test
1 parent cb13ae0 commit 6553413

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
/// <reference path='fourslash.ts' />
2+
3+
// Exercises for whether completions are performed depending on where the caret is positioned in the ref comment.
4+
5+
// @Filename: f.ts
6+
//// /*f*/
7+
8+
// @Filename: test.ts
9+
//// /// <reference path/*0*/=/*1*/"/*8*/
10+
//// /// <reference path/*2*/=/*3*/"/*9*/"/*4*/ /*5*///*6*/>/*7*/
11+
12+
for(let m = 0; m < 8; ++m) {
13+
goTo.marker("" + m);
14+
verify.not.completionListItemsCountIsGreaterThan(0);
15+
}
16+
17+
for(let m of ["8", "9"]) {
18+
goTo.marker(m);
19+
verify.completionListContains("f.ts");
20+
verify.not.completionListItemsCountIsGreaterThan(1);
21+
}

0 commit comments

Comments
 (0)