Skip to content

Commit

Permalink
Output Setup-ScheduledTask returned object with Write-Host instead of…
Browse files Browse the repository at this point in the history
… Write-Verbose in tests
  • Loading branch information
joeltimothyoh committed Dec 24, 2019
1 parent 7491add commit c1319f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/scripts/integration/Run-IntegrationTests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ $functionTestScriptBlock = {
for ($i=0; $i -le $iterations-1; $i++) {
"Iteration: $($i+1)" | Write-Host
$stdout = & $script:cmd @cmdArgs
$stdout | Out-String -Stream | % { $_.Trim() } | ? { $_ } | Write-Verbose
$stdout | Out-String -Stream | % { $_.Trim() } | ? { $_ } | Write-Host
}
}catch {
$_ | Write-Error
Expand Down

0 comments on commit c1319f2

Please sign in to comment.