Skip to content

Commit a6969d3

Browse files
committed
Format code
1 parent 4adfd64 commit a6969d3

File tree

6 files changed

+10
-10
lines changed

6 files changed

+10
-10
lines changed

src/Sentry.Profiling/SamplingTransactionProfilerFactory.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1+
using Sentry.Ben.BlockingDetector;
12
using Sentry.Extensibility;
23
using Sentry.Internal;
3-
using Sentry.Ben.BlockingDetector;
44

55
namespace Sentry.Profiling;
66

src/Sentry/Internal/BackgroundWorker.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1+
using Sentry.Ben.BlockingDetector;
12
using Sentry.Extensibility;
23
using Sentry.Internal.Extensions;
34
using Sentry.Internal.Http;
45
using Sentry.Protocol.Envelopes;
5-
using Sentry.Ben.BlockingDetector;
66

77
namespace Sentry.Internal;
88

src/Sentry/Internal/GarbageCollectionMonitor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
using Sentry.Extensibility;
21
using Sentry.Ben.BlockingDetector;
2+
using Sentry.Extensibility;
33

44
namespace Sentry.Internal;
55

src/Sentry/Internal/Http/CachingTransport.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
using System.Text.Json;
2+
using Sentry.Ben.BlockingDetector;
23
using Sentry.Extensibility;
34
using Sentry.Internal.Extensions;
45
using Sentry.Protocol.Envelopes;
5-
using Sentry.Ben.BlockingDetector;
66

77
namespace Sentry.Internal.Http;
88

src/Sentry/Internal/ProcessInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
using Sentry.Extensibility;
21
using Sentry.Ben.BlockingDetector;
2+
using Sentry.Extensibility;
33

44
namespace Sentry.Internal;
55

test/Sentry.Tests/Internals/BackgroundWorkerTests.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using System.IO.Abstractions.TestingHelpers;
2-
using Sentry.Internal.Http;
32
using Sentry.Ben.BlockingDetector;
3+
using Sentry.Internal.Http;
44
using BackgroundWorker = Sentry.Internal.BackgroundWorker;
55

66
namespace Sentry.Tests.Internals;
@@ -530,19 +530,19 @@ public void Ctor_SuppressesBlockingDetection_WhenCreatingTask()
530530
var listenerState = Substitute.For<ITaskBlockingListenerState>();
531531
var monitor = Substitute.For<IBlockingMonitor>();
532532
var context = new DetectBlockingSynchronizationContext(monitor);
533-
533+
534534
// Mock the current sync context to our test context
535535
SynchronizationContext.SetSynchronizationContext(context);
536-
536+
537537
// Mock the TaskBlockingListener to return our test state
538538
var originalDefaultState = TaskBlockingListener.DefaultState;
539539
TaskBlockingListener.DefaultState = listenerState;
540-
540+
541541
try
542542
{
543543
// Act
544544
using var sut = _fixture.GetSut();
545-
545+
546546
// Assert
547547
// Verify that suppression was called when creating the task
548548
listenerState.Received(1).Suppress();

0 commit comments

Comments
 (0)