Consolidate Tests
This commit is contained in:
parent
1ba6c8605b
commit
ad011108e6
12 changed files with 8 additions and 26 deletions
|
@ -2,10 +2,15 @@
|
|||
|
||||
//// abstract class A {
|
||||
//// abstract x: number;
|
||||
//// private y: number;
|
||||
//// protected z: number;
|
||||
//// public w: number;
|
||||
//// }
|
||||
////
|
||||
//// class C implements A {[| |]}
|
||||
|
||||
verify.rangeAfterCodeFix(`
|
||||
x: number;
|
||||
protected z: number;
|
||||
public w: number;
|
||||
`);
|
|
@ -1,11 +0,0 @@
|
|||
/// <reference path='fourslash.ts' />
|
||||
|
||||
//// interface I1 {
|
||||
//// x: number;
|
||||
//// }
|
||||
////
|
||||
//// class C1 implements I1 {[|
|
||||
//// |]}
|
||||
|
||||
verify.rangeAfterCodeFix(`x: number;
|
||||
`);
|
|
@ -1,12 +0,0 @@
|
|||
/// <reference path='fourslash.ts' />
|
||||
|
||||
//// interface I1 {
|
||||
//// x: number & { __iBrand: any };
|
||||
//// }
|
||||
////
|
||||
//// class C1 implements I1 {[|
|
||||
//// |]}
|
||||
|
||||
verify.rangeAfterCodeFix(`
|
||||
x: number & { __iBrand: any; };
|
||||
`);
|
|
@ -14,4 +14,4 @@
|
|||
|
||||
verify.rangeAfterCodeFix(`
|
||||
x: number;
|
||||
`);
|
||||
`);
|
|
@ -3,7 +3,7 @@
|
|||
//// interface I {
|
||||
//// x: number;
|
||||
//// y: number;
|
||||
//// z: number;
|
||||
//// z: number & { __iBrand: any };
|
||||
//// }
|
||||
////
|
||||
//// class C implements I {[| |]
|
||||
|
@ -12,5 +12,5 @@
|
|||
//// }
|
||||
|
||||
verify.rangeAfterCodeFix(`
|
||||
z: number;
|
||||
z: number & { __iBrand: any; };
|
||||
`);
|
||||
|
|
Loading…
Reference in a new issue