Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 971aac4

Browse files
author
Alexandra Dorey
committedApr 1, 2025·
Test and Fix for test
1 parent 1268930 commit 971aac4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
 

‎NuGet.Config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?xml version="1.0" encoding="utf-8"?>
1+
<?xml version="1.0" encoding="utf-8"?>
22
<configuration>
33
<packageSources>
44
<clear />

‎Tests/Rules/UseConsistentWhitespace.tests.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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 = @{

0 commit comments

Comments
 (0)
Please sign in to comment.