Skip to content

Commit 34b6809

Browse files
author
Kanchalai Tanglertsampan
committed
Add more tests
1 parent b5c6221 commit 34b6809

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

tests/cases/fourslash/completionInJsDoc.ts

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,22 @@
3636
//// * /*11*/
3737
//// */
3838

39+
//// /**
40+
//// /*12*/
41+
//// */
42+
43+
//// /**
44+
//// * /*13*/
45+
//// */
46+
47+
//// /**
48+
//// * some comment /*14*/
49+
//// */
50+
51+
//// /**
52+
//// * @param /*15*/
53+
//// */
54+
3955
goTo.marker('1');
4056
verify.completionListContains("constructor");
4157
verify.completionListContains("param");
@@ -76,3 +92,17 @@ verify.completionListContains("@returns");
7692
goTo.marker('11');
7793
verify.completionListCount(40);
7894
verify.completionListContains("@argument");
95+
96+
goTo.marker('12');
97+
verify.completionListCount(40);
98+
verify.completionListContains("@constructor");
99+
100+
goTo.marker('13');
101+
verify.completionListCount(40);
102+
verify.completionListContains("@param");
103+
104+
goTo.marker('14');
105+
verify.completionListIsEmpty();
106+
107+
goTo.marker('15');
108+
verify.completionListIsEmpty();

0 commit comments

Comments
 (0)