From 1bb30f22ecc5f6b5d567ef85e4180346096be8c9 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 21 Aug 2026 21:53:15 +0000 Subject: [PATCH 1/2] Initial plan From fea1125548fb135634c7b5e19f31fe3b43fe7c01 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 21 Aug 2026 21:54:56 +0000 Subject: [PATCH 2/2] Replace removed Pester -Pending with -Skip in two rule tests Co-authored-by: andyleejordan <2226434+andyleejordan@users.noreply.github.com> --- Tests/Rules/UseIdenticalMandatoryParametersForDSC.tests.ps1 | 2 +- Tests/Rules/UseToExportFieldsInManifest.tests.ps1 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Tests/Rules/UseIdenticalMandatoryParametersForDSC.tests.ps1 b/Tests/Rules/UseIdenticalMandatoryParametersForDSC.tests.ps1 index 6e22acc32..4766fd843 100644 --- a/Tests/Rules/UseIdenticalMandatoryParametersForDSC.tests.ps1 +++ b/Tests/Rules/UseIdenticalMandatoryParametersForDSC.tests.ps1 @@ -32,7 +32,7 @@ Describe "UseIdenticalMandatoryParametersForDSC" { } # todo add a test to check one violation per function - It "Should find a violations" -pending { + It "Should find a violations" -skip { $violations.Count | Should -Be 0 } } diff --git a/Tests/Rules/UseToExportFieldsInManifest.tests.ps1 b/Tests/Rules/UseToExportFieldsInManifest.tests.ps1 index 5fa68aa68..5c3a169cd 100644 --- a/Tests/Rules/UseToExportFieldsInManifest.tests.ps1 +++ b/Tests/Rules/UseToExportFieldsInManifest.tests.ps1 @@ -87,7 +87,7 @@ Describe "UseManifestExportFields" { $results[0].Extent.Text | Should -Be "'*'" } - It "suggests corrections for AliasesToExport with wildcard" -pending:($IsCoreClr) { + It "suggests corrections for AliasesToExport with wildcard" -skip:($IsCoreCLR) { $violations = Run-PSScriptAnalyzerRule $testManifestBadAliasesWildcardPath $violationFilepath = Join-path $testManifestPath $testManifestBadAliasesWildcardPath Test-CorrectionExtent $violationFilepath $violations[0] 1 "'*'" "@('gbar', 'gfoo')"