Skip to content

Commit b292964

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

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

test/Sentry.AspNetCore.Tests/SentryMiddlewareTests.cs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -159,15 +159,15 @@ 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(
164+
Callback
165+
.First(c => c.ArgAt<Action<Scope>>(0).Invoke(scope))
166+
.Then(_ =>
167+
{
168+
Assert.True(scope.Locked);
169+
verified = true;
170+
}));
171171

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

0 commit comments

Comments
 (0)