mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-14 18:39:19 -05:00
test cases for builder in constructor
This commit is contained in:
@@ -24,5 +24,4 @@
|
||||
test.markers().forEach((m) => {
|
||||
goTo.position(m.position, m.fileName);
|
||||
verify.completionListIsEmpty();
|
||||
verify.not.completionListIsBuilder();
|
||||
});
|
||||
|
||||
@@ -0,0 +1,22 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
|
||||
////var aa = 1;
|
||||
|
||||
////class bar1{ constructor(/*constructorParamter1*/
|
||||
|
||||
////class bar2{ constructor(a/*constructorParamter2*/
|
||||
|
||||
////class bar3{ constructor(a, /*constructorParamter3*/
|
||||
|
||||
////class bar4{ constructor(a, b/*constructorParamter4*/
|
||||
|
||||
////class bar6{ constructor(public a, /*constructorParamter5*/
|
||||
|
||||
////class bar7{ constructor(private a, /*constructorParamter6*/
|
||||
|
||||
|
||||
test.markers().forEach((m) => {
|
||||
goTo.position(m.position, m.fileName);
|
||||
verify.not.completionListIsEmpty();
|
||||
verify.completionListIsBuilder();
|
||||
});
|
||||
Reference in New Issue
Block a user