@@ -40,7 +40,6 @@ namespace Bicep.LangServer.IntegrationTests
40
40
[ SuppressMessage ( "Style" , "VSTHRD200:Use \" Async\" suffix for async methods" , Justification = "Test methods do not need to follow this convention." ) ]
41
41
public class CompletionTests
42
42
{
43
- // cache the provider
44
43
public static readonly IResourceTypeProvider TypeProvider = AzResourceTypeProvider . CreateWithAzTypes ( ) ;
45
44
46
45
[ NotNull ]
@@ -561,7 +560,7 @@ static void AssertAllCompletionsContainResourceLabel(IEnumerable<CompletionList?
561
560
}
562
561
}
563
562
564
- await RunCompletionScenarioTest ( fileWithCursors , AssertAllCompletionsContainResourceLabel ) ;
563
+ await RunCompletionScenarioTest ( this . TestContext , fileWithCursors , AssertAllCompletionsContainResourceLabel ) ;
565
564
}
566
565
567
566
[ TestMethod ]
@@ -646,15 +645,6 @@ private static async Task RunCompletionScenarioTest(TestContext testContext, str
646
645
assertAction ( completions ) ;
647
646
}
648
647
649
- private static Task RunCompletionScenarioTest ( object testContext , Action < IEnumerable < CompletionList ? > > assertAction222 )
650
- {
651
- /*
652
- * The compiler on GitHub actions seems to believe that we are only passing 2 arguments to this method.
653
- * Let's make that true, so we can compile the code successfully to get a stack trace at runtime.
654
- */
655
- throw new NotImplementedException ( "This should not be getting called!!!" ) ;
656
- }
657
-
658
648
private static void AssertAllCompletionsNonEmpty ( IEnumerable < CompletionList ? > completionLists )
659
649
{
660
650
foreach ( var completionList in completionLists )
@@ -775,7 +765,7 @@ value is null
775
765
if ( value is JObject @object )
776
766
{
777
767
const string omnisharpHandlerIdPropertyName = "$$__handler_id__$$" ;
778
-
768
+
779
769
if ( @object . Property ( omnisharpHandlerIdPropertyName ) != null )
780
770
{
781
771
@object . Remove ( omnisharpHandlerIdPropertyName ) ;
0 commit comments