Use declared variables to confirm completion.
This commit is contained in:
parent
589a01c51f
commit
a71a826b5b
4 changed files with 7 additions and 3 deletions
|
@ -1,7 +1,8 @@
|
|||
/// <reference path="fourslash.ts" />
|
||||
|
||||
////let v = 100;
|
||||
/////a/./**/
|
||||
|
||||
goTo.marker();
|
||||
verify.not.memberListContains('alert');
|
||||
verify.not.memberListContains('v');
|
||||
verify.memberListContains('compile');
|
|
@ -1,5 +1,6 @@
|
|||
/// <reference path="fourslash.ts" />
|
||||
|
||||
////let v = 100;
|
||||
////let x = /absidey//**/
|
||||
|
||||
// Should get nothing at the marker since it's
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
/// <reference path="fourslash.ts" />
|
||||
|
||||
////let v = 100;
|
||||
////let x = /absidey/
|
||||
/////**/
|
||||
|
||||
|
@ -7,4 +8,4 @@
|
|||
// newline separating us from the regex flags.
|
||||
|
||||
goTo.marker();
|
||||
verify.not.completionListIsEmpty();
|
||||
verify.completionListContains("v");
|
|
@ -1,9 +1,10 @@
|
|||
/// <reference path="fourslash.ts" />
|
||||
|
||||
////let v = 100;
|
||||
////let x = /absidey/ /**/
|
||||
|
||||
// Should not be blocked since there is a
|
||||
// space separating us from the regex flags.
|
||||
|
||||
goTo.marker();
|
||||
verify.not.completionListIsEmpty();
|
||||
verify.completionListContains("v");
|
Loading…
Reference in a new issue