Skip to content

Commit 4c347a1

Browse files
committed
Fix ordering typo, remove parse errors before counting
1 parent 37c095c commit 4c347a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/Rules/AlignAssignmentStatement.tests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,8 @@ Configuration Sample_ChangeDescriptionAndPermissions
126126
# NonExistentModule is not really avaiable to load. Therefore we set erroraction to
127127
# SilentlyContinue
128128
Invoke-ScriptAnalyzer -ScriptDefinition $def -Settings $settings -ErrorAction SilentlyContinue |
129-
Get-Count |
130129
Where-Object { $_.Severity -ne "ParseError" } |
130+
Get-Count |
131131
Should -Be 4
132132
}
133133
}

0 commit comments

Comments
 (0)