File tree Expand file tree Collapse file tree 3 files changed +4
-8
lines changed Expand file tree Collapse file tree 3 files changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -115,10 +115,7 @@ public class ActorIdTests
115115 [ InlineData ( " " ) ]
116116 public void Initialize_New_ActorId_Object_With_Null_Or_Whitespace_Id ( string id )
117117 {
118- Assert . Throws < ArgumentException > ( ( ) =>
119- {
120- new ActorId ( id ) ;
121- } ) ;
118+ Assert . Throws < ArgumentException > ( ( ) => new ActorId ( id ) ) ;
122119 }
123120
124121 [ Theory ]
Original file line number Diff line number Diff line change @@ -43,8 +43,8 @@ public void DaprClientBuilder_UsesPropertyNameCaseHandlingAsSpecified()
4343 [ Fact ]
4444 public void DaprClientBuilder_UsesThrowOperationCanceledOnCancellation_ByDefault ( )
4545 {
46- var builder = new DaprClientBuilder ( ) ;
47- builder . Build ( ) ;
46+ var builder = new DaprClientBuilder ( ) . Build ( ) ;
47+
4848 Assert . True ( builder . GrpcChannelOptions . ThrowOperationCanceledOnCancellation ) ;
4949 }
5050
Original file line number Diff line number Diff line change @@ -839,8 +839,7 @@ public async Task TrySaveStateAsync_ValidateNonETagErrorThrowsException()
839839 {
840840 var client = new MockClient ( ) ;
841841
842- await client . CallStateApi < string > ( )
843- . Build ( ) ;
842+ await client . CallStateApi < string > ( ) . Build ( ) ;
844843
845844 var rpcException = new RpcException ( new Status ( StatusCode . Internal , "Network Error" ) ) ;
846845
You can’t perform that action at this time.
0 commit comments