File tree 2 files changed +6
-5
lines changed
test/PowerShellEditorServices.Test/Language
2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -15,14 +15,14 @@ steps:
15
15
displayName : Install .NET 6.0.x SDK
16
16
inputs :
17
17
packageType : sdk
18
- version : 6.0.302
18
+ version : 6.0.x
19
19
performMultiLevelLookup : true
20
20
21
21
- task : UseDotNet@2
22
22
displayName : Install .NET 3.1.x runtime
23
23
inputs :
24
24
packageType : runtime
25
- version : 3.1.27
25
+ version : 3.1.x
26
26
performMultiLevelLookup : true
27
27
28
28
- task : PowerShell@2
Original file line number Diff line number Diff line change @@ -71,9 +71,10 @@ public async Task CompletesCommandFromModule()
71
71
Assert . StartsWith ( CompleteCommandFromModule . GetRandomDetail , actual . Detail ) ;
72
72
}
73
73
74
- [ Fact ]
74
+ [ SkippableFact ]
75
75
public async Task CompletesTypeName ( )
76
76
{
77
+ Skip . If ( VersionUtils . PSEdition == "Desktop" , "Windows PowerShell has trouble with this test right now." ) ;
77
78
( _ , IEnumerable < CompletionItem > results ) = await GetCompletionResultsAsync ( CompleteTypeName . SourceDetails ) . ConfigureAwait ( true ) ;
78
79
CompletionItem actual = Assert . Single ( results ) ;
79
80
if ( VersionUtils . IsNetCore )
@@ -91,10 +92,10 @@ public async Task CompletesTypeName()
91
92
}
92
93
}
93
94
94
- [ Trait ( "Category" , "Completions" ) ]
95
- [ Fact ]
95
+ [ SkippableFact ]
96
96
public async Task CompletesNamespace ( )
97
97
{
98
+ Skip . If ( VersionUtils . PSEdition == "Desktop" , "Windows PowerShell has trouble with this test right now." ) ;
98
99
( _ , IEnumerable < CompletionItem > results ) = await GetCompletionResultsAsync ( CompleteNamespace . SourceDetails ) . ConfigureAwait ( true ) ;
99
100
CompletionItem actual = Assert . Single ( results ) ;
100
101
Assert . Equal ( CompleteNamespace . ExpectedCompletion , actual ) ;
You can’t perform that action at this time.
0 commit comments