@@ -36,7 +36,7 @@ public async Task TestReserveBasicAsync(string endpointId)
3636 var db = GetCleanDatabase ( endpointId ) ;
3737 var cf = db . CF ( ) ;
3838 Assert . True ( await cf . ReserveAsync ( key , 100L , maxIterations : 20 , expansion : 1 ) ) ;
39- _ = Assert . ThrowsAsync < RedisServerException > ( async ( ) => await cf . ReserveAsync ( key , 100L ) ) ;
39+ await Assert . ThrowsAsync < RedisServerException > ( async ( ) => await cf . ReserveAsync ( key , 100L ) ) ;
4040
4141 Assert . True ( await ( cf . AddAsync ( key , "item1" ) ) ) ;
4242 Assert . True ( await cf . ExistsAsync ( key , "item1" ) ) ;
@@ -298,7 +298,7 @@ public async Task TestInsertNXAsync(string endpointId)
298298
299299 RedisValue [ ] items = new RedisValue [ ] { "item1" , "item2" , "item3" } ;
300300
301- _ = Assert . ThrowsAsync < RedisServerException > ( async ( ) => await cf . InsertNXAsync ( key , items , 1024 , true ) ) ;
301+ await Assert . ThrowsAsync < RedisServerException > ( async ( ) => await cf . InsertNXAsync ( key , items , 1024 , true ) ) ;
302302 var result = await cf . InsertNXAsync ( key , items , 1024 ) ;
303303 await cf . InsertNXAsync ( key , items , 10245 , true ) ;
304304 var trues = new bool [ ] { true , true , true } ;
@@ -314,7 +314,7 @@ public async Task TestInsertNXAsync(string endpointId)
314314 Assert . Equal ( result , new bool [ ] { false , false , false } ) ;
315315
316316 // test empty items:
317- _ = Assert . ThrowsAsync < ArgumentOutOfRangeException > ( async ( ) => await cf . InsertNXAsync ( key , new RedisValue [ ] { } ) ) ;
317+ await Assert . ThrowsAsync < ArgumentOutOfRangeException > ( async ( ) => await cf . InsertNXAsync ( key , new RedisValue [ ] { } ) ) ;
318318 }
319319
320320 [ SkippableTheory ]
0 commit comments