Skip to content

Commit 65b8167

Browse files
committed
fix tests
1 parent ee85808 commit 65b8167

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

test/Sentry.Tests/Internals/DebugStackTraceTests.verify.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,7 @@ void CheckStackTraceIsUnchanged(SentryStackTrace stackTrace)
192192
}
193193
}
194194

195+
#if NET6_0_OR_GREATER
195196
[Fact]
196197
public void ParseNativeAOTToString()
197198
{
@@ -214,8 +215,8 @@ public void ParseNativeAOTToString()
214215
Assert.Null(frame.Package);
215216
}
216217

217-
// TODO: Create integration test to test this behaviour when publishing AOT apps
218-
// See https://github.com/getsentry/sentry-dotnet/issues/2772
218+
// TODO: Create integration test to test this behaviour when publishing AOT apps
219+
// See https://github.com/getsentry/sentry-dotnet/issues/2772
219220
[Fact]
220221
public Task CreateFrame_ForNativeAOT()
221222
{
@@ -230,6 +231,7 @@ public Task CreateFrame_ForNativeAOT()
230231

231232
return VerifyJson(frame.ToJsonString());
232233
}
234+
#endif
233235

234236
private class InjectableDebugStackTrace : DebugStackTrace
235237
{

0 commit comments

Comments
 (0)