Skip to content

Commit 02e9c4b

Browse files
committed
Fix expected error ID
1 parent 524ae1a commit 02e9c4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/Engine/InvokeScriptAnalyzer.tests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -637,6 +637,6 @@ Describe 'Suppression switch parameter sets' {
637637
}
638638

639639
$errorId = $errorId.Substring(0, $errorId.IndexOf(','))
640-
$errorId | Should -BeExactly 'AmbiguousParameterSet'
640+
$errorId | Should -BeExactly 'SuppressionSwitchParametersInvalid'
641641
}
642642
}

0 commit comments

Comments
 (0)