SuperFix fourslash tests

This commit is contained in:
Paul van Brenk
2016-08-05 16:21:46 -07:00
parent 466d26fc76
commit 6f4fb064ca
2 changed files with 23 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
/// <reference path='fourslash.ts' />
////class Base{
////}
////class C extends Base{
//// constructor() {[| |]
//// }
////}
verify.codeFixAtPosition('super();');

View File

@@ -0,0 +1,13 @@
/// <reference path='fourslash.ts' />
////class Base{
////}
////class C extends Base{
//// private a:number;
//// constructor() {[|
//// this.a = 12;
//// super();|]
//// }
////}
verify.codeFixAtPosition("super(); this.a = 12;");