Added tests.

This commit is contained in:
Daniel Rosenwasser 2015-06-02 12:58:49 -07:00
parent dcfe920064
commit 0a3cbe083b
3 changed files with 28 additions and 0 deletions

View file

@ -0,0 +1,9 @@
/// <reference path="fourslash.ts" />
////let x = /absidey//**/
// Should get nothing at the marker since it's
// going to be considered part of the regex flags.
goTo.marker();
verify.completionListIsEmpty();

View file

@ -0,0 +1,10 @@
/// <reference path="fourslash.ts" />
////let x = /absidey/
/////**/
// Should not be blocked since there is a
// newline separating us from the regex flags.
goTo.marker();
verify.not.completionListIsEmpty();

View file

@ -0,0 +1,9 @@
/// <reference path="fourslash.ts" />
////let x = /absidey/ /**/
// Should not be blocked since there is a
// space separating us from the regex flags.
goTo.marker();
verify.not.completionListIsEmpty();