Skip to content

Commit 400a6e8

Browse files
committed
Update test given new output.
1 parent 750f454 commit 400a6e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tst/Pester.RSpec.InNewProcess.ts.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ i -PassThru:$PassThru {
384384
$ps.HadErrors | Verify-False
385385
$res.PassedCount | Verify-Equal 1
386386
# Information-stream introduced in PSv5 for Write-Host output
387-
if ($PSVersionTable.PSVersion.Major -ge 5) { $ps.Streams.Information -match 'Describe' | Verify-NotNull }
387+
if ($PSVersionTable.PSVersion.Major -ge 5) { $ps.Streams.Information -match '<ScriptBlock>' | Verify-NotNull }
388388
}
389389
finally {
390390
$ps.Dispose()

0 commit comments

Comments
 (0)