Skip to content

Commit 55aa771

Browse files
committed
Revert indentation change in SentryMiddlewareTests
1 parent 91914d4 commit 55aa771

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

test/Sentry.AspNetCore.Tests/SentryMiddlewareTests.cs

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -159,15 +159,14 @@ public async Task InvokeAsync_LocksScope_BeforeConfiguringScope()
159159
var verified = false;
160160
var scope = new Scope();
161161
_fixture.Hub
162-
.When(h => h.ConfigureScope(Arg.Any<Action<Scope>>()))
163-
.Do(
164-
Callback
165-
.First(c => c.ArgAt<Action<Scope>>(0).Invoke(scope))
166-
.Then(_ =>
167-
{
168-
Assert.True(scope.Locked);
169-
verified = true;
170-
}));
162+
.When(h => h.ConfigureScope(Arg.Any<Action<Scope>>()))
163+
.Do(Callback
164+
.First(c => c.ArgAt<Action<Scope>>(0).Invoke(scope))
165+
.Then(_ =>
166+
{
167+
Assert.True(scope.Locked);
168+
verified = true;
169+
}));
171170

172171
_fixture.Hub.When(h => h.ConfigureScope(Arg.Any<Action<Scope, Arg.AnyType>>(), Arg.Any<Arg.AnyType>()))
173172
.Do(Callback.First(c => c.InvokeGenericConfigureScopeMethod(scope)).Then(_ =>

0 commit comments

Comments
 (0)