Skip to content

Commit 38de65a

Browse files
author
Andy
authored
Merge pull request microsoft#10607 from Microsoft/remove_useless_inserts
Remove useless inserts that used to be required to trigger checks
2 parents 707d61d + d47b3e2 commit 38de65a

24 files changed

+0
-72
lines changed

tests/cases/fourslash/cloduleAsBaseClass.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,6 @@
2323
////d./*1*/
2424
////D./*2*/
2525

26-
// this line triggers a semantic/syntactic error check, remove line when 788570 is fixed
27-
edit.insert('');
28-
2926
goTo.marker('1');
3027
verify.completionListContains('foo');
3128
verify.completionListContains('foo2');

tests/cases/fourslash/cloduleAsBaseClass2.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,6 @@
2828
////d./*1*/
2929
////D./*2*/
3030

31-
// this line triggers a semantic/syntactic error check, remove line when 788570 is fixed
32-
edit.insert('');
33-
3431
goTo.marker('1');
3532
verify.completionListContains('foo');
3633
verify.completionListContains('foo2');

tests/cases/fourslash/cloduleTypeOf1.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,6 @@
1414
//// }
1515
////}
1616

17-
// this line triggers a semantic/syntactic error check, remove line when 788570 is fixed
18-
edit.insert('');
19-
20-
2117
goTo.marker('1');
2218
verify.completionListContains('f');
2319
verify.completionListContains('foo');

tests/cases/fourslash/cloduleWithRecursiveReference.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@
99
//// }
1010
////}
1111

12-
// this line triggers a semantic/syntactic error check, remove line when 788570 is fixed
13-
edit.insert('');
14-
1512
goTo.marker();
1613
verify.quickInfoIs('var M.C.C: typeof M.C');
1714
verify.numberOfErrorsInCurrentFile(0);

tests/cases/fourslash/commentsClass.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,6 @@
5858
////}
5959
////var myVar = new m.m2.c/*33*/1();
6060

61-
// this line triggers a semantic/syntactic error check, remove line when 788570 is fixed
62-
edit.insert('');
63-
6461
goTo.marker('1');
6562
verify.quickInfoIs("class c2", "This is class c2 without constuctor");
6663

tests/cases/fourslash/commentsExternalModules.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,6 @@
3131
/////*10*/extMod./*11*/m1./*12*/fooExp/*13q*/ort(/*13*/);
3232
////var new/*14*/Var = new extMod.m1.m2./*15*/c();
3333

34-
// this line triggers a semantic/syntactic error check, remove line when 788570 is fixed
35-
edit.insert('');
36-
3734
goTo.file("commentsExternalModules_file0.ts");
3835
goTo.marker('1');
3936
verify.quickInfoIs("namespace m1", "Namespace comment");

tests/cases/fourslash/commentsMultiModuleMultiFile.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@
2626
////}
2727
////new /*7*/mu/*8*/ltiM.d();
2828

29-
// this line triggers a semantic/syntactic error check, remove line when 788570 is fixed
30-
edit.insert('');
3129
goTo.marker('1');
3230
verify.completionListContains("multiM", "namespace multiM", "this is multi declare namespace\nthi is multi namespace 2\nthis is multi namespace 3 comment");
3331

tests/cases/fourslash/commentsMultiModuleSingleFile.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@
1616
////new /*1*/mu/*4*/ltiM.b();
1717
////new mu/*5*/ltiM.c();
1818

19-
// this line triggers a semantic/syntactic error check, remove line when 788570 is fixed
20-
edit.insert('');
21-
2219
goTo.marker('1');
2320
verify.completionListContains("multiM", "namespace multiM", "this is multi declare namespace\nthi is multi namespace 2");
2421

tests/cases/fourslash/completionListAtEOF.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@
22

33
////var a;
44

5-
// this line triggers a semantic/syntactic error check, remove line when 788570 is fixed
6-
edit.insert('');
7-
85
goTo.eof();
96
verify.completionListContains("a");
107

tests/cases/fourslash/completionListCladule.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@
1212
////var f = new Foo();
1313
////f/*c3*/;
1414

15-
// this line triggers a semantic/syntactic error check, remove line when 788570 is fixed
16-
edit.insert('');
17-
1815
goTo.marker("c1");
1916
edit.insert(".");
2017
verify.memberListContains("x");

0 commit comments

Comments
 (0)