Skip to content

Commit 69b200f

Browse files
committed
Update test to expect 'Warning' severity instead of 'Info'
1 parent d87628d commit 69b200f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/Rules/UseConstrainedLanguageMode.tests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ enum MyEnum {
344344
$def = 'Add-Type -AssemblyName System.Windows.Forms'
345345
$violations = Invoke-ScriptAnalyzer -ScriptDefinition $def -Settings $settings
346346
$matchingViolations = $violations | Where-Object { $_.RuleName -eq $violationName }
347-
$matchingViolations[0].Severity | Should -Be 'Information'
347+
$matchingViolations[0].Severity | Should -Be 'Warning'
348348
}
349349
}
350350

0 commit comments

Comments
 (0)