Skip to content

Commit aa1a7bb

Browse files
committed
Fix PR suggestions
1 parent 0499ebc commit aa1a7bb

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

integration-test/Integration.Desktop.Tests.ps1

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@ BeforeDiscovery {
4848

4949
# Define crash types to test
5050
$TestCrashTypes = @(
51-
@{ Name = 'NullPointer'; Arg = 'crash-capture' }
52-
@{ Name = 'StackOverflow'; Arg = 'crash-stackoverflow' }
53-
@{ Name = 'MemoryCorruption'; Arg = 'crash-memorycorruption' }
51+
@{ Name = 'NullPointer'; Arg = '-crash-capture' }
52+
@{ Name = 'StackOverflow'; Arg = '-crash-stackoverflow' }
53+
@{ Name = 'MemoryCorruption'; Arg = '-crash-memorycorruption' }
5454
)
5555
}
5656

@@ -136,8 +136,8 @@ Describe "Sentry Unreal Desktop Integration Tests (<Platform>)" -ForEach $TestTa
136136
# Override default project settings to avoid double initialization
137137
$appArgs += '-ini:Engine:[/Script/Sentry.SentrySettings]:InitAutomatically=False'
138138

139-
# -$crashTypeArg triggers specific crash type scenario in the sample app
140-
$script:CrashResult = Invoke-DeviceApp -ExecutablePath $script:AppPath -Arguments ((@('-$crashTypeArg') + $appArgs) -join ' ')
139+
# $crashTypeArg triggers specific crash type scenario in the sample app
140+
$script:CrashResult = Invoke-DeviceApp -ExecutablePath $script:AppPath -Arguments ((@($crashTypeArg) + $appArgs) -join ' ')
141141

142142
# On macOS, the crash is captured but not uploaded immediately (due to Cocoa's behavior),
143143
# so we need to run the test app again to send it to Sentry.

0 commit comments

Comments
 (0)