Added tests for completions before a new scope.

Tests for #2292.
This commit is contained in:
Daniel Rosenwasser 2015-03-17 00:02:18 -07:00
parent 26647d4ecf
commit 88adb8fbb4
2 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,11 @@
/// <reference path='fourslash.ts' />
////p/*1*/
////
////function fun(param) {
//// let party = Math.random() < 0.99;
////}
goTo.marker("1");
verify.not.completionListContains("param");
verify.not.completionListContains("party");

View File

@ -0,0 +1,10 @@
/// <reference path='fourslash.ts' />
////a
////
////{
//// let aaaaaa = 10;
////}
goTo.marker("1");
verify.not.completionListContains("aaaaa");