Skip to content

Commit b1dc70d

Browse files
committed
try matching System.DllNotFoundException
1 parent c8e9fb5 commit b1dc70d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

integration-test/runtime.Tests.ps1

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,9 @@ internal class FakeTransport : ITransport
132132

133133
It "'dotnet publish' produces an app that's recognized as AOT by Sentry (SentryNative=<_>)" -ForEach @($false, $true) {
134134
publishConsoleApp $_
135-
runConsoleApp | Should -AnyElementMatch 'This looks like a Native AOT application build.'
135+
$output = runConsoleApp
136+
$output | Should -AnyElementMatch 'This looks like a Native AOT application build.'
137+
$output | Should -Not -AnyElementMatch 'System.DllNotFoundException: Unable to load shared library ''sentry-native'' or one of its dependencies.'
136138
}
137139

138140
It "'dotnet run' produces an app that's recognized as JIT by Sentry" {

0 commit comments

Comments
 (0)