Skip to content

Commit 4e74f3f

Browse files
PoshAJPoshAJ
PoshAJ
authored and
PoshAJ
committed
Update Test Description
1 parent 6afa8a9 commit 4e74f3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/Rules/AvoidAssignmentToAutomaticVariable.tests.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ Describe "AvoidAssignmentToAutomaticVariables" {
7171
$warnings.RuleName | Should -Be $ruleName
7272
}
7373

74-
It "Using Variable <VariableName> as foreach name produces warning of Severity <ExpectedSeverity>" -TestCases $testCases_AutomaticVariables {
74+
It "Using Variable <VariableName> as foreach assignment produces warning of Severity <ExpectedSeverity>" -TestCases $testCases_AutomaticVariables {
7575
param ($VariableName, $ExpectedSeverity)
7676

7777
[System.Array] $warnings = Invoke-ScriptAnalyzer -ScriptDefinition "foreach (`$$VariableName in `$foo) {}"

0 commit comments

Comments
 (0)