mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-12 21:37:41 -06:00
Added tests.
This commit is contained in:
parent
dcfe920064
commit
0a3cbe083b
@ -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…
x
Reference in New Issue
Block a user