File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1- <?xml version =" 1.0" encoding =" utf-8" ?>
1+ <?xml version =" 1.0" encoding =" utf-8" ?>
22<configuration >
33 <packageSources >
44 <clear />
Original file line number Diff line number Diff line change @@ -212,9 +212,10 @@ $ht = @{
212212 $ruleConfiguration.CheckSeparator = $false
213213 $ruleConfiguration.IgnoreAssignmentOperatorInsideHashTable = $true
214214 }
215+
215216 It " Should not find violation if assignment operator is in multi-line hash table and a using statement is present" {
216217 $def = @'
217- using system
218+ using namespace System.IO
218219
219220$ht = @{
220221 variable = 3
@@ -224,7 +225,6 @@ $ht = @{
224225 Invoke-ScriptAnalyzer - ScriptDefinition $def - Settings $settings | Should - Be $null
225226 }
226227
227-
228228 It " Should not find violation if assignment operator is in multi-line hash table" {
229229 $def = @'
230230$ht = @{
You can’t perform that action at this time.
0 commit comments