File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/algorithm_exercises_csharp_test/hackerrank/warmup Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ public void testBirthdayCakeCandles()
30
30
[ TestMethod ]
31
31
public void testMiniMaxSumEmptyInput ( )
32
32
{
33
- Assert . ThrowsException < ArgumentException > ( ( ) => BirthdayCakeCandles . birthdayCakeCandles ( [ ] ) ) ;
33
+ Assert . ThrowsExactly < ArgumentException > ( ( ) => _ = BirthdayCakeCandles . birthdayCakeCandles ( [ ] ) ) ;
34
34
}
35
35
}
36
36
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ public void testMiniMaxSum()
30
30
[ TestMethod ]
31
31
public void testMiniMaxSumEmptyInput ( )
32
32
{
33
- Assert . ThrowsException < ArgumentException > ( ( ) => MiniMaxSum . miniMaxSum ( [ ] ) ) ;
33
+ Assert . ThrowsExactly < ArgumentException > ( ( ) => _ = MiniMaxSum . miniMaxSum ( [ ] ) ) ;
34
34
}
35
35
}
36
36
You can’t perform that action at this time.
0 commit comments