Skip to content

Commit

Permalink
Add more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Kanchalai Tanglertsampan committed Mar 2, 2017
1 parent b5c6221 commit 34b6809
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions tests/cases/fourslash/completionInJsDoc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,22 @@
//// * /*11*/
//// */

//// /**
//// /*12*/
//// */

//// /**
//// * /*13*/
//// */

//// /**
//// * some comment /*14*/
//// */

//// /**
//// * @param /*15*/
//// */

goTo.marker('1');
verify.completionListContains("constructor");
verify.completionListContains("param");
Expand Down Expand Up @@ -76,3 +92,17 @@ verify.completionListContains("@returns");
goTo.marker('11');
verify.completionListCount(40);
verify.completionListContains("@argument");

goTo.marker('12');
verify.completionListCount(40);
verify.completionListContains("@constructor");

goTo.marker('13');
verify.completionListCount(40);
verify.completionListContains("@param");

goTo.marker('14');
verify.completionListIsEmpty();

goTo.marker('15');
verify.completionListIsEmpty();

0 comments on commit 34b6809

Please sign in to comment.