Skip to content

Commit ec31619

Browse files
Fix internal exception inheritance type.
1 parent d00ea38 commit ec31619

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

UnitTest/DataStructuresTests/RedBlackTreeTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -530,6 +530,6 @@ private static void CheckPathToEveryLeafHasSameNumberOfBlackNode(RedBlackTree<in
530530
/// <summary>
531531
/// Exception class throw when any of red black tree rule is violation. Only for unit tests.
532532
/// </summary>
533-
internal class RedBlackTreeViolationRuleException : ArgumentException
533+
internal class RedBlackTreeViolationRuleException : Exception
534534
{ }
535535
}

0 commit comments

Comments
 (0)