Skip to content

Commit fea1125

Browse files
Replace removed Pester -Pending with -Skip in two rule tests
Co-authored-by: andyleejordan <2226434+andyleejordan@users.noreply.github.com>
1 parent 1bb30f2 commit fea1125

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Tests/Rules/UseIdenticalMandatoryParametersForDSC.tests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Describe "UseIdenticalMandatoryParametersForDSC" {
3232
}
3333

3434
# todo add a test to check one violation per function
35-
It "Should find a violations" -pending {
35+
It "Should find a violations" -skip {
3636
$violations.Count | Should -Be 0
3737
}
3838
}

Tests/Rules/UseToExportFieldsInManifest.tests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ Describe "UseManifestExportFields" {
8787
$results[0].Extent.Text | Should -Be "'*'"
8888
}
8989

90-
It "suggests corrections for AliasesToExport with wildcard" -pending:($IsCoreClr) {
90+
It "suggests corrections for AliasesToExport with wildcard" -skip:($IsCoreCLR) {
9191
$violations = Run-PSScriptAnalyzerRule $testManifestBadAliasesWildcardPath
9292
$violationFilepath = Join-path $testManifestPath $testManifestBadAliasesWildcardPath
9393
Test-CorrectionExtent $violationFilepath $violations[0] 1 "'*'" "@('gbar', 'gfoo')"

0 commit comments

Comments
 (0)