Use declared variables to confirm completion.

This commit is contained in:
Daniel Rosenwasser 2015-06-02 13:40:38 -07:00
parent 589a01c51f
commit a71a826b5b
4 changed files with 7 additions and 3 deletions

View file

@ -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');

View file

@ -1,5 +1,6 @@
/// <reference path="fourslash.ts" />
////let v = 100;
////let x = /absidey//**/
// Should get nothing at the marker since it's

View file

@ -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");

View file

@ -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");