mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-12 01:48:33 -05:00
Remove error-codes from fourslash tests
This commit is contained in:
@@ -18,11 +18,11 @@
|
||||
////
|
||||
//// }
|
||||
////
|
||||
//// exp ort let a = function3; |]
|
||||
//// export let a = function3; |]
|
||||
////}
|
||||
|
||||
verify.codeFixAtPosition(`function function3() {
|
||||
function1();
|
||||
}
|
||||
|
||||
export let a = function3;`, 6133);
|
||||
export let a = function3;`);
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
// @noUnusedLocals: true
|
||||
////function greeter() {
|
||||
//// [| var x, y = 0; |]
|
||||
//// x++;
|
||||
//// x+1;
|
||||
////}
|
||||
|
||||
verify.codeFixAtPosition("var x;", 6133);
|
||||
verify.codeFixAtPosition("var x;");
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
// @noUnusedLocals: true
|
||||
////function greeter() {
|
||||
//// [| var x, y = 0,z = 1; |]
|
||||
//// x++;
|
||||
//// z++;
|
||||
//// x+1;
|
||||
//// z+1;
|
||||
////}
|
||||
|
||||
verify.codeFixAtPosition("var x,z = 1;", 6133);
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
// @noUnusedLocals: true
|
||||
// @noUnusedParameters: true
|
||||
//// export {}
|
||||
//// [|var x: string, y: number;|]
|
||||
//// y;
|
||||
//// [|var x: string, z: number;|]
|
||||
//// z;
|
||||
//// export var y: string;
|
||||
|
||||
verify.codeFixAtPosition("var y: number;", 6133);
|
||||
verify.codeFixAtPosition("var z: number;");
|
||||
|
||||
Reference in New Issue
Block a user