File tree Expand file tree Collapse file tree 1 file changed +8
-9
lines changed
test/Sentry.AspNetCore.Tests Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Original file line number Diff line number Diff 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 ( _ =>
You can’t perform that action at this time.
0 commit comments