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.
1 parent b035b4d commit 6208566Copy full SHA for 6208566
Tests/Engine/InvokeScriptAnalyzer.tests.ps1
@@ -187,13 +187,13 @@ Describe "Test Path" {
187
$piped = ("$directory\TestScript.ps1" | Invoke-ScriptAnalyzer)
188
$explicit = Invoke-ScriptAnalyzer -Path $directory\TestScript.ps1
189
190
- $piped.Count -eq $explicit.Count | Should -BeTrue
+ $piped.Count | Should Be $explicit.Count
191
}
192
193
It "Can be piped from Get-ChildItem" {
194
$piped = ( Get-ChildItem -Path $directory -Filter TestTestPath*.ps1 | Invoke-ScriptAnalyzer)
195
$explicit = Invoke-ScriptAnalyzer -Path $directory\TestTestPath*.ps1
196
197
198
199
0 commit comments