File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -171,15 +171,15 @@ Describe "Test importing correct customized rules" {
171
171
$customizedRulePath = Invoke-ScriptAnalyzer $directory \TestScript.ps1 - CustomRulePath $directory \VersionedSampleRule\SampleRuleWithVersion
172
172
$customizedRulePath.Count | Should Be 1
173
173
174
- $customizedRulePath = Get-ScriptAnalyzerRule - CustomRulePath $directory \VersionedSampleRulen \SampleRuleWithVersion
174
+ $customizedRulePath = Get-ScriptAnalyzerRule - CustomRulePath $directory \VersionedSampleRule \SampleRuleWithVersion
175
175
$customizedRulePath.Count | Should Be 1
176
176
}
177
177
178
178
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
180
180
$customizedRulePath.Count | Should Be 1
181
181
182
- $customizedRulePath = Get-ScriptAnalyzerRule - CustomRulePath $directory \VersionedSampleRulen - RecurseCustomRulePath
182
+ $customizedRulePath = Get-ScriptAnalyzerRule - CustomRulePath $directory \VersionedSampleRule - RecurseCustomRulePath
183
183
$customizedRulePath.Count | Should Be 1
184
184
185
185
}
You can’t perform that action at this time.
0 commit comments