diff --git a/tests/cases/fourslash/completionListAfterRegularExpressionLiteral01.ts b/tests/cases/fourslash/completionListAfterRegularExpressionLiteral01.ts index 558b4d1e791..ac8568d13f5 100644 --- a/tests/cases/fourslash/completionListAfterRegularExpressionLiteral01.ts +++ b/tests/cases/fourslash/completionListAfterRegularExpressionLiteral01.ts @@ -1,7 +1,8 @@ /// +////let v = 100; /////a/./**/ goTo.marker(); -verify.not.memberListContains('alert'); +verify.not.memberListContains('v'); verify.memberListContains('compile'); \ No newline at end of file diff --git a/tests/cases/fourslash/completionListAfterRegularExpressionLiteral02.ts b/tests/cases/fourslash/completionListAfterRegularExpressionLiteral02.ts index 677aae80513..2719d747d58 100644 --- a/tests/cases/fourslash/completionListAfterRegularExpressionLiteral02.ts +++ b/tests/cases/fourslash/completionListAfterRegularExpressionLiteral02.ts @@ -1,5 +1,6 @@ /// +////let v = 100; ////let x = /absidey//**/ // Should get nothing at the marker since it's diff --git a/tests/cases/fourslash/completionListAfterRegularExpressionLiteral03.ts b/tests/cases/fourslash/completionListAfterRegularExpressionLiteral03.ts index 7b767d5e008..7c0e4d51446 100644 --- a/tests/cases/fourslash/completionListAfterRegularExpressionLiteral03.ts +++ b/tests/cases/fourslash/completionListAfterRegularExpressionLiteral03.ts @@ -1,5 +1,6 @@ /// +////let v = 100; ////let x = /absidey/ /////**/ @@ -7,4 +8,4 @@ // newline separating us from the regex flags. goTo.marker(); -verify.not.completionListIsEmpty(); \ No newline at end of file +verify.completionListContains("v"); \ No newline at end of file diff --git a/tests/cases/fourslash/completionListAfterRegularExpressionLiteral04.ts b/tests/cases/fourslash/completionListAfterRegularExpressionLiteral04.ts index 17a714c6f9d..06f31b8175b 100644 --- a/tests/cases/fourslash/completionListAfterRegularExpressionLiteral04.ts +++ b/tests/cases/fourslash/completionListAfterRegularExpressionLiteral04.ts @@ -1,9 +1,10 @@ /// +////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(); \ No newline at end of file +verify.completionListContains("v"); \ No newline at end of file