Skip to content

Commit

Permalink
Merge pull request #1884 from PowerShell/andschwa/revert-pin
Browse files Browse the repository at this point in the history
Revert "Pin .NET to 6.0.302 and 3.1.27 (#1878)"
  • Loading branch information
andyleejordan authored Aug 18, 2022
2 parents c25d0d2 + e55f54f commit 0b96dae
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .vsts-ci/templates/ci-general.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ steps:
displayName: Install .NET 6.0.x SDK
inputs:
packageType: sdk
version: 6.0.302
version: 6.0.x
performMultiLevelLookup: true

- task: UseDotNet@2
displayName: Install .NET 3.1.x runtime
inputs:
packageType: runtime
version: 3.1.27
version: 3.1.x
performMultiLevelLookup: true

- task: PowerShell@2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,10 @@ public async Task CompletesCommandFromModule()
Assert.StartsWith(CompleteCommandFromModule.GetRandomDetail, actual.Detail);
}

[Fact]
[SkippableFact]
public async Task CompletesTypeName()
{
Skip.If(VersionUtils.PSEdition == "Desktop", "Windows PowerShell has trouble with this test right now.");
(_, IEnumerable<CompletionItem> results) = await GetCompletionResultsAsync(CompleteTypeName.SourceDetails).ConfigureAwait(true);
CompletionItem actual = Assert.Single(results);
if (VersionUtils.IsNetCore)
Expand All @@ -91,10 +92,10 @@ public async Task CompletesTypeName()
}
}

[Trait("Category", "Completions")]
[Fact]
[SkippableFact]
public async Task CompletesNamespace()
{
Skip.If(VersionUtils.PSEdition == "Desktop", "Windows PowerShell has trouble with this test right now.");
(_, IEnumerable<CompletionItem> results) = await GetCompletionResultsAsync(CompleteNamespace.SourceDetails).ConfigureAwait(true);
CompletionItem actual = Assert.Single(results);
Assert.Equal(CompleteNamespace.ExpectedCompletion, actual);
Expand Down

0 comments on commit 0b96dae

Please sign in to comment.