Added tests.
This commit is contained in:
parent
dcfe920064
commit
0a3cbe083b
3 changed files with 28 additions and 0 deletions
|
@ -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();
|
|
@ -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();
|
|
@ -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();
|
Loading…
Reference in a new issue