File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -162,7 +162,6 @@ Describe 'Out-Sentry captures expected stack traces for piped command' {
162162 }
163163
164164 It ' PowerShell' {
165- clear
166165 $output = $integrationTestScriptContent | pwsh - Command -
167166 $checkOutput.Invoke ($output , $expected )
168167 }
@@ -287,7 +286,7 @@ Describe 'Out-Sentry captures expected stack traces for PowerShell.Create()' {
287286 $childPs.AddScript ($integrationTestScriptContent )
288287 $output = $childPs.Invoke ()
289288 # Output has weirdly behaving line breaks in this case so let's normalize them:
290- $output = ($output | Join-String - Separator " `n " ) -split " [`r`n ]+"
289+ $output = ($output -join " `n " ) -split " [`r`n ]+"
291290 $checkOutput.Invoke ($output , $expected )
292291 }
293292}
You can’t perform that action at this time.
0 commit comments