Skip to content

Commit e238b38

Browse files
committed
Update some tests because the original marker will be deleted
1 parent 80568c5 commit e238b38

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

tests/cases/fourslash/unusedVariableInForLoop7FS.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
//// function f1 () {
55
//// for (const elem of ["a", "b", "c"]) {
66
//// elem;
7-
//// [|var x = 20;|]
8-
//// }
7+
//// [|var x = 20;
8+
//// }|]
99
////}
1010
////
1111

12-
verify.rangeAfterCodeFix("");
12+
verify.rangeAfterCodeFix("}");

tests/cases/fourslash/unusedVariableInModule1.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// @noUnusedLocals: true
44
// @noUnusedParameters: true
55
//// export {}
6-
//// [|var x: string;|]
7-
//// export var y: string;
6+
//// [|var x: string;
7+
//// export var y: string;|]
88

9-
verify.rangeAfterCodeFix("");
9+
verify.rangeAfterCodeFix("export var y: string;");

tests/cases/fourslash/unusedVariableInModule3.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// @noUnusedLocals: true
44
// @noUnusedParameters: true
55
//// export {}
6-
//// [|var x = function f1() {}|]
7-
//// export var y: string;
6+
//// [|var x = function f1() {}
7+
//// export var y: string;|]
88

9-
verify.rangeAfterCodeFix("");
9+
verify.rangeAfterCodeFix("export var y: string;");

0 commit comments

Comments
 (0)