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" ?>
2
2
<configuration >
3
3
<packageSources >
4
4
<clear />
Original file line number Diff line number Diff line change @@ -212,9 +212,10 @@ $ht = @{
212
212
$ruleConfiguration.CheckSeparator = $false
213
213
$ruleConfiguration.IgnoreAssignmentOperatorInsideHashTable = $true
214
214
}
215
+
215
216
It " Should not find violation if assignment operator is in multi-line hash table and a using statement is present" {
216
217
$def = @'
217
- using system
218
+ using namespace System.IO
218
219
219
220
$ht = @{
220
221
variable = 3
@@ -224,7 +225,6 @@ $ht = @{
224
225
Invoke-ScriptAnalyzer - ScriptDefinition $def - Settings $settings | Should - Be $null
225
226
}
226
227
227
-
228
228
It " Should not find violation if assignment operator is in multi-line hash table" {
229
229
$def = @'
230
230
$ht = @{
You can’t perform that action at this time.
0 commit comments