Skip to content

Commit 567b1ae

Browse files
author
Kapil Borle
committed
Fix a bug in a test helper function
1 parent e65b9a9 commit 567b1ae

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Tests/Rules/PSScriptAnalyzerTestHelper.psm1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Function Test-CorrectionExtent
2121
[string] $correctionText
2222
)
2323
$corrections = $diagnosticRecord.SuggestedCorrections
24-
$corrections.Count | Should Be 1
24+
$corrections.Count | Should Be $correctionsCount
2525
$corrections[0].Text | Should Be $correctionText
2626
Get-ExtentText $corrections[0] $violationFilepath | `
2727
Should Be $violationText

0 commit comments

Comments
 (0)