Skip to content

Commit 0821897

Browse files
author
Kapil Borle
committed
Fix a typo in custom rule tests
1 parent b82733f commit 0821897

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Tests/Engine/CustomizedRule.tests.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -171,15 +171,15 @@ Describe "Test importing correct customized rules" {
171171
$customizedRulePath = Invoke-ScriptAnalyzer $directory\TestScript.ps1 -CustomRulePath $directory\VersionedSampleRule\SampleRuleWithVersion
172172
$customizedRulePath.Count | Should Be 1
173173

174-
$customizedRulePath = Get-ScriptAnalyzerRule -CustomRulePath $directory\VersionedSampleRulen\SampleRuleWithVersion
174+
$customizedRulePath = Get-ScriptAnalyzerRule -CustomRulePath $directory\VersionedSampleRule\SampleRuleWithVersion
175175
$customizedRulePath.Count | Should Be 1
176176
}
177177

178178
It "loads custom rules that contain version in their path with the RecurseCustomRule switch" {
179-
$customizedRulePath = Invoke-ScriptAnalyzer $directory\TestScript.ps1 -CustomRulePath $directory\VersionedSampleRulen -RecurseCustomRulePath
179+
$customizedRulePath = Invoke-ScriptAnalyzer $directory\TestScript.ps1 -CustomRulePath $directory\VersionedSampleRule -RecurseCustomRulePath
180180
$customizedRulePath.Count | Should Be 1
181181

182-
$customizedRulePath = Get-ScriptAnalyzerRule -CustomRulePath $directory\VersionedSampleRulen -RecurseCustomRulePath
182+
$customizedRulePath = Get-ScriptAnalyzerRule -CustomRulePath $directory\VersionedSampleRule -RecurseCustomRulePath
183183
$customizedRulePath.Count | Should Be 1
184184

185185
}

0 commit comments

Comments
 (0)