mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-06-25 12:40:05 -05:00
Use declared variables to confirm completion.
This commit is contained in:
@@ -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");
|
||||
Reference in New Issue
Block a user