Skip to content

Commit 0df2f60

Browse files
committed
Temp test to see ubuntu problem
1 parent 7a43a1f commit 0df2f60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/Rules/AvoidUsingAlias.tests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ Configuration MyDscConfiguration {
102102

103103
It "do not warn when about Get-* completed cmdlets when the command exists natively on Unix platforms" -skip:(-not ($IsLinux -or $IsMacOS)) {
104104
$violations = Invoke-ScriptAnalyzer -IncludeRule PSAvoidUsingCmdletAliases -ExcludeRule PSUseCompatibleCommands -ScriptDefinition 'date' | Where-Object { $_.RuleName -eq $violationName }
105-
$violations.Count | Should -Be 0
105+
$violations[0].Message | Should -Be ''
106106
}
107107
}
108108
}

0 commit comments

Comments
 (0)