Skip to content

Commit 78fdd44

Browse files
author
Paul van Brenk
committed
Remove error-codes from fourslash tests
1 parent 40c0cbd commit 78fdd44

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

tests/cases/fourslash/unusedFunctionInNamespace5.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@
1818
////
1919
//// }
2020
////
21-
//// exp ort let a = function3; |]
21+
//// export let a = function3; |]
2222
////}
2323

2424
verify.codeFixAtPosition(`function function3() {
2525
function1();
2626
}
2727
28-
export let a = function3;`, 6133);
28+
export let a = function3;`);

tests/cases/fourslash/unusedLocalsInFunction2.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// @noUnusedLocals: true
44
////function greeter() {
55
//// [| var x, y = 0; |]
6-
//// x++;
6+
//// x+1;
77
////}
88

9-
verify.codeFixAtPosition("var x;", 6133);
9+
verify.codeFixAtPosition("var x;");

tests/cases/fourslash/unusedLocalsInFunction3.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
// @noUnusedLocals: true
44
////function greeter() {
55
//// [| var x, y = 0,z = 1; |]
6-
//// x++;
7-
//// z++;
6+
//// x+1;
7+
//// z+1;
88
////}
99

1010
verify.codeFixAtPosition("var x,z = 1;", 6133);

tests/cases/fourslash/unusedVariableInModule2.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
// @noUnusedLocals: true
44
// @noUnusedParameters: true
55
//// export {}
6-
//// [|var x: string, y: number;|]
7-
//// y;
6+
//// [|var x: string, z: number;|]
7+
//// z;
88
//// export var y: string;
99

10-
verify.codeFixAtPosition("var y: number;", 6133);
10+
verify.codeFixAtPosition("var z: number;");

0 commit comments

Comments
 (0)