Skip to content

Commit fedbc1c

Browse files
committed
Fix compile errors in fourslash tests
1 parent 195e3e3 commit fedbc1c

6 files changed

+10
-10
lines changed

tests/cases/fourslash/addMethodToInterface1.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
edit.disableFormatting();
1111

12-
goTo.marker(1);
12+
goTo.marker('1');
1313

1414
edit.insert(" compareTo(): number;\n");
1515
diagnostics.validateTypesAtPositions(168,84,53,118,22);

tests/cases/fourslash/arrayConcatTypeCheck0.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
edit.disableFormatting();
1313

14-
goTo.marker(1);
14+
goTo.marker('1');
1515

1616
edit.insert(", 'world'");
1717
diagnostics.validateTypesAtPositions(78);

tests/cases/fourslash/arrayConcatTypeCheck1.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,18 @@
1010

1111
edit.disableFormatting();
1212

13-
goTo.marker(1);
13+
goTo.marker('1');
1414

1515
edit.deleteAtCaret(9);
1616

17-
goTo.marker(3);
17+
goTo.marker('3');
1818

1919
edit.deleteAtCaret(7);
2020

21-
goTo.marker(2);
21+
goTo.marker('2');
2222

2323
edit.deleteAtCaret(7);
2424

25-
goTo.marker(4);
25+
goTo.marker('4');
2626
diagnostics.validateTypesAtPositions(43);
2727

tests/cases/fourslash/genericParameterHelp.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
////class Bar<T> extends testClass</*type3*/
2828
////var x : testClass<,, /*type4*/any>;
2929

30-
// goTo.marker("1");
30+
goTo.marker("1");
3131
// verify.currentSignatureParamterCountIs(3);
3232
// verify.currentSignatureHelpIs("testFunction<T extends IFoo, U, M extends IFoo>(a: T, b: U, c: M): M");
3333

tests/cases/fourslash/importDeclPaste0.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@
1313

1414
edit.disableFormatting();
1515

16-
goTo.marker(1);
16+
goTo.marker('1');
1717

1818
//edit.insert("\nimport I1 = module(\"exportEqualsInterface_A\");\n");

tests/cases/fourslash/multipleExportAssignmentsErrorList0.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@
1818
////
1919

2020
edit.disableFormatting();
21-
goTo.marker(1);
21+
goTo.marker('1');
2222

2323
edit.deleteAtCaret(24);
2424

25-
goTo.marker(1);
25+
goTo.marker('1');
2626

2727
edit.insert("export = connectExport;\n");

0 commit comments

Comments
 (0)