Skip to content

Commit 3073cde

Browse files
David ReynoldsDavid Reynolds
authored andcommitted
Updated positional parameter test to pass
Using full name of an existing rule to prevent failure in the future.
1 parent 428f8b0 commit 3073cde

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/Engine/GetScriptAnalyzerRule.tests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ Describe "Test Name parameters" {
7070
}
7171

7272
It "is a positional parameter" {
73-
$rules = Get-ScriptAnalyzerRule *alias*
73+
$rules = Get-ScriptAnalyzerRule "PSAvoidUsingCmdletAliases"
7474
$rules.Count | Should Be 1
7575
}
7676
}

0 commit comments

Comments
 (0)