Skip to content

Commit 211aba8

Browse files
committed
fixup: runtime tests after #2781 merge
1 parent e590886 commit 211aba8

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

integration-test/runtime.Tests.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,10 +95,10 @@ internal class FakeTransport : ITransport
9595
}
9696

9797
It "'dotnet publish' produces an app that's recognized as AOT by Sentry" {
98-
runConsoleApp | Should -AnyElementMatch 'This looks like an AOT application build.'
98+
runConsoleApp | Should -AnyElementMatch 'This looks like a NativeAOT application build.'
9999
}
100100

101101
It "'dotnet run' produces an app that's recognized as JIT by Sentry" {
102-
runConsoleApp $false | Should -AnyElementMatch 'This looks like a JIT application build.'
102+
runConsoleApp $false | Should -AnyElementMatch 'This looks like a standard JIT/AOT application build.'
103103
}
104104
}

src/Sentry/SentryClient.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@ internal SentryClient(
4848
options.SetupLogging(); // Only relevant if this client wasn't created as a result of calling Init
4949

5050
if (AotHelper.IsNativeAot) {
51-
options.LogDebug("This looks like an NativeAOT application build.");
51+
options.LogDebug("This looks like a NativeAOT application build.");
5252
} else {
53-
options.LogDebug("This looks like a JIT/AOT application build.");
53+
options.LogDebug("This looks like a standard JIT/AOT application build.");
5454
}
5555

5656
if (worker == null)

0 commit comments

Comments
 (0)