Skip to content

Commit 58b16a1

Browse files
author
Kapil Borle
committed
Fix option names in AlignAssignmentStatement rule test
1 parent 4ed08e6 commit 58b16a1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Tests/Rules/AlignAssignmentStatement.tests.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ Import-Module (Join-Path $testRootDirectory "PSScriptAnalyzerTestHelper.psm1")
66

77
$ruleConfiguration = @{
88
Enable = $true
9-
AlignInHashtable = $true
10-
AlignInDSCConfiguration = $true
9+
CheckHashtable = $true
10+
CheckDSCConfiguration = $true
1111
}
1212

1313
$settings = @{
@@ -35,7 +35,7 @@ $hashtable = @{
3535

3636
$violations = Invoke-ScriptAnalyzer -ScriptDefinition $def -Settings $settings
3737
$violations.Count | Should Be 1
38-
Test-CorrectionExtentFromContent $def $violations 1 '' ' '
38+
Test-CorrectionExtentFromContent $def $violations 1 ' ' ' '
3939
}
4040
}
4141
}

0 commit comments

Comments
 (0)