File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments