We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d87628d commit 69b200fCopy full SHA for 69b200f
Tests/Rules/UseConstrainedLanguageMode.tests.ps1
@@ -344,7 +344,7 @@ enum MyEnum {
344
$def = 'Add-Type -AssemblyName System.Windows.Forms'
345
$violations = Invoke-ScriptAnalyzer -ScriptDefinition $def -Settings $settings
346
$matchingViolations = $violations | Where-Object { $_.RuleName -eq $violationName }
347
- $matchingViolations[0].Severity | Should -Be 'Information'
+ $matchingViolations[0].Severity | Should -Be 'Warning'
348
}
349
350
0 commit comments