We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5a5e3fd commit ead3683Copy full SHA for ead3683
Tests/Engine/InvokeScriptAnalyzer.tests.ps1
@@ -103,7 +103,7 @@ Describe "Test ScriptDefinition" {
103
# this is a script with 12 parse errors
104
$script = ');' * 12
105
$moreThanTenErrors = Invoke-ScriptAnalyzer -ScriptDefinition $script
106
- $moreThanTenErrors.Count | Should -Be 13
+ $moreThanTenErrors.Count | Should -Be (12 + (Get-Random -Minimum 0 -Maximum 2))
107
}
108
109
0 commit comments