mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-16 05:41:21 -06:00
Rename Most Tests
This commit is contained in:
parent
d24236b933
commit
7758e6dc9d
@ -0,0 +1,16 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
|
||||
//// abstract class A {
|
||||
//// private abstract x: number;
|
||||
//// }
|
||||
////
|
||||
//// class C extends A {[|
|
||||
//// |]}
|
||||
|
||||
// We don't know how to fix this problem. We can:
|
||||
// 1) Make x protected, and then insert.
|
||||
// 2) Make x private, and then insert.
|
||||
// 3) Make x not abstract.
|
||||
// So we offer no fixes for now.
|
||||
// TODO: (arozga) change this behavior.
|
||||
verify.not.codeFixAvailable();
|
||||
@ -4,7 +4,6 @@
|
||||
//// x:Array<Number>;
|
||||
//// }
|
||||
////
|
||||
////
|
||||
//// var x: I1 ={[|
|
||||
//// |]}
|
||||
|
||||
@ -6,7 +6,6 @@
|
||||
////
|
||||
//// class T {}
|
||||
////
|
||||
////
|
||||
//// var x: I1 ={[|
|
||||
//// |]}
|
||||
|
||||
@ -8,7 +8,6 @@
|
||||
////
|
||||
//// }
|
||||
////
|
||||
////
|
||||
//// class C1 implements I2 {[|
|
||||
//// |]}
|
||||
|
||||
@ -1,11 +0,0 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
|
||||
//// interface I { }
|
||||
////
|
||||
//// class C extends I {[|
|
||||
//// |]}
|
||||
|
||||
verify.codeFixAtPosition(`f1(){
|
||||
throw new Error('Method not Implemented');
|
||||
}
|
||||
`);
|
||||
@ -1,17 +0,0 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
|
||||
//// interface I1 {
|
||||
//// x:T;
|
||||
//// f1();
|
||||
//// }
|
||||
////
|
||||
//// class T {}
|
||||
////
|
||||
////
|
||||
//// var x: I1 ={[|
|
||||
//// |]f1(){}
|
||||
//// }
|
||||
|
||||
verify.not.codeFixAvailable();
|
||||
// verify.codeFixAtPosition(`x : null,
|
||||
// `);
|
||||
Loading…
x
Reference in New Issue
Block a user