We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a43a1f commit 0df2f60Copy full SHA for 0df2f60
Tests/Rules/AvoidUsingAlias.tests.ps1
@@ -102,7 +102,7 @@ Configuration MyDscConfiguration {
102
103
It "do not warn when about Get-* completed cmdlets when the command exists natively on Unix platforms" -skip:(-not ($IsLinux -or $IsMacOS)) {
104
$violations = Invoke-ScriptAnalyzer -IncludeRule PSAvoidUsingCmdletAliases -ExcludeRule PSUseCompatibleCommands -ScriptDefinition 'date' | Where-Object { $_.RuleName -eq $violationName }
105
- $violations.Count | Should -Be 0
+ $violations[0].Message | Should -Be ''
106
}
107
108
0 commit comments