test cases for builder in constructor

This commit is contained in:
Paul van Brenk
2015-01-20 15:51:24 -08:00
parent 832af682ed
commit cb4a1109d6
2 changed files with 22 additions and 1 deletions

View File

@@ -24,5 +24,4 @@
test.markers().forEach((m) => {
goTo.position(m.position, m.fileName);
verify.completionListIsEmpty();
verify.not.completionListIsBuilder();
});

View File

@@ -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();
});