We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e65b9a9 commit 567b1aeCopy full SHA for 567b1ae
1 file changed
Tests/Rules/PSScriptAnalyzerTestHelper.psm1
@@ -21,7 +21,7 @@ Function Test-CorrectionExtent
21
[string] $correctionText
22
)
23
$corrections = $diagnosticRecord.SuggestedCorrections
24
- $corrections.Count | Should Be 1
+ $corrections.Count | Should Be $correctionsCount
25
$corrections[0].Text | Should Be $correctionText
26
Get-ExtentText $corrections[0] $violationFilepath | `
27
Should Be $violationText
0 commit comments