diff options
Diffstat (limited to 'mcs/class/Mono.C5/Test/trees/RedBlackTreeSetTests.cs')
-rw-r--r-- | mcs/class/Mono.C5/Test/trees/RedBlackTreeSetTests.cs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/mcs/class/Mono.C5/Test/trees/RedBlackTreeSetTests.cs b/mcs/class/Mono.C5/Test/trees/RedBlackTreeSetTests.cs index fe9056ba26c..a8ba41265ca 100644 --- a/mcs/class/Mono.C5/Test/trees/RedBlackTreeSetTests.cs +++ b/mcs/class/Mono.C5/Test/trees/RedBlackTreeSetTests.cs @@ -724,7 +724,7 @@ namespace nunit.trees.TreeSet [Test]
- [ExpectedException(typeof(ArgumentOutOfRangeException), "Below minimum of set\r\nParameter name: item\r\nActual value was -2.")]
+ [ExpectedException(typeof(ArgumentOutOfRangeException))]
public void PredecessorTooLow1()
{
tree.Predecessor(-2);
@@ -732,7 +732,7 @@ namespace nunit.trees.TreeSet [Test]
- [ExpectedException(typeof(ArgumentOutOfRangeException), "Below minimum of set\r\nParameter name: item\r\nActual value was 0.")]
+ [ExpectedException(typeof(ArgumentOutOfRangeException))]
public void PredecessorTooLow2()
{
tree.Predecessor(0);
@@ -757,7 +757,7 @@ namespace nunit.trees.TreeSet [Test]
- [ExpectedException(typeof(ArgumentOutOfRangeException), "Below minimum of set\r\nParameter name: item\r\nActual value was -2.")]
+ [ExpectedException(typeof(ArgumentOutOfRangeException))]
public void WeakPredecessorTooLow1()
{
tree.WeakPredecessor(-2);
@@ -781,7 +781,7 @@ namespace nunit.trees.TreeSet [Test]
- [ExpectedException(typeof(ArgumentOutOfRangeException), "Above maximum of set\r\nParameter name: item\r\nActual value was 38.")]
+ [ExpectedException(typeof(ArgumentOutOfRangeException))]
public void SuccessorTooHigh1()
{
tree.Successor(38);
@@ -789,7 +789,7 @@ namespace nunit.trees.TreeSet [Test]
- [ExpectedException(typeof(ArgumentOutOfRangeException), "Above maximum of set\r\nParameter name: item\r\nActual value was 39.")]
+ [ExpectedException(typeof(ArgumentOutOfRangeException))]
public void SuccessorTooHigh2()
{
tree.Successor(39);
@@ -814,7 +814,7 @@ namespace nunit.trees.TreeSet [Test]
- [ExpectedException(typeof(ArgumentOutOfRangeException), "Above maximum of set\r\nParameter name: item\r\nActual value was 39.")]
+ [ExpectedException(typeof(ArgumentOutOfRangeException))]
public void WeakSuccessorTooHigh1()
{
tree.WeakSuccessor(39);
|