We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0fe9d12 + 5fd25d4 commit 6bc208dCopy full SHA for 6bc208d
Tests/Rules/UseConsistentWhitespace.tests.ps1
@@ -222,7 +222,7 @@ $ht = @{
222
other = 4
223
}
224
'@
225
- Invoke-ScriptAnalyzer -ScriptDefinition $def -Settings $settings | Should -Be $null
+ Invoke-ScriptAnalyzer -ScriptDefinition $def -Settings $settings | Should -BeNullOrEmpty
226
227
228
It "Should not find violation if assignment operator is in multi-line hash table" {
0 commit comments