Skip to content

Commit 2d2a6ef

Browse files
test fixes
1 parent ebe5a9a commit 2d2a6ef

11 files changed

+34
-12
lines changed

src/EditorFeatures/CSharpTest2/Recommendations/ConstKeywordRecommenderTests.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,9 @@ static class C
461461
$$
462462
}
463463
}
464-
""", CSharpNextParseOptions);
464+
""",
465+
CSharpNextParseOptions,
466+
CSharpNextScriptParseOptions);
465467
}
466468
}
467469
}

src/EditorFeatures/CSharpTest2/Recommendations/EventKeywordRecommenderTests.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -668,6 +668,8 @@ static class C
668668
$$
669669
}
670670
}
671-
""", CSharpNextParseOptions);
671+
""",
672+
CSharpNextParseOptions,
673+
CSharpNextScriptParseOptions);
672674
}
673675
}

src/EditorFeatures/CSharpTest2/Recommendations/InterfaceKeywordRecommenderTests.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,9 @@ static class C
346346
$$
347347
}
348348
}
349-
""", CSharpNextParseOptions);
349+
""",
350+
CSharpNextParseOptions,
351+
CSharpNextScriptParseOptions);
350352
}
351353
}
352354
}

src/EditorFeatures/CSharpTest2/Recommendations/MethodKeywordRecommenderTests.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,8 @@ static class C
298298
[$$
299299
}
300300
}
301-
""", CSharpNextParseOptions);
301+
""",
302+
CSharpNextParseOptions,
303+
CSharpNextScriptParseOptions);
302304
}
303305
}

src/EditorFeatures/CSharpTest2/Recommendations/PrivateKeywordRecommenderTests.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -531,7 +531,9 @@ static class C
531531
$$
532532
}
533533
}
534-
""", CSharpNextParseOptions);
534+
""",
535+
CSharpNextParseOptions,
536+
CSharpNextScriptParseOptions);
535537
}
536538
}
537539
}

src/EditorFeatures/CSharpTest2/Recommendations/PropertyKeywordRecommenderTests.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,6 +292,8 @@ static class C
292292
[$$
293293
}
294294
}
295-
""", CSharpNextParseOptions);
295+
""",
296+
CSharpNextParseOptions,
297+
CSharpNextScriptParseOptions);
296298
}
297299
}

src/EditorFeatures/CSharpTest2/Recommendations/RecordKeywordRecommenderTests.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -553,7 +553,9 @@ static class C
553553
$$
554554
}
555555
}
556-
""", CSharpNextParseOptions);
556+
""",
557+
CSharpNextParseOptions,
558+
CSharpNextScriptParseOptions);
557559
}
558560
}
559561
}

src/EditorFeatures/CSharpTest2/Recommendations/ReturnKeywordRecommenderTests.cs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,9 @@ static class C
468468
$$
469469
}
470470
}
471-
""", CSharpNextParseOptions);
471+
""",
472+
CSharpNextParseOptions,
473+
CSharpNextScriptParseOptions);
472474
}
473475

474476
[Fact]
@@ -483,6 +485,8 @@ static class C
483485
[$$
484486
}
485487
}
486-
""", CSharpNextParseOptions);
488+
""",
489+
CSharpNextParseOptions,
490+
CSharpNextScriptParseOptions);
487491
}
488492
}

src/EditorFeatures/CSharpTest2/Recommendations/StructKeywordRecommenderTests.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -721,7 +721,9 @@ static class C
721721
$$
722722
}
723723
}
724-
""", CSharpNextParseOptions);
724+
""",
725+
CSharpNextParseOptions,
726+
CSharpNextScriptParseOptions);
725727
}
726728
}
727729
}

src/EditorFeatures/CSharpTest2/Recommendations/UncheckedKeywordRecommenderTests.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,9 @@ static class C
130130
$$
131131
}
132132
}
133-
""", CSharpNextParseOptions);
133+
""",
134+
CSharpNextParseOptions,
135+
CSharpNextScriptParseOptions);
134136
}
135137
}
136138
}

0 commit comments

Comments
 (0)