2008-01-09 Jb Evain <jbevain@novell.com>
authorJb Evain <jbevain@gmail.com>
Wed, 9 Jan 2008 13:45:34 +0000 (13:45 -0000)
committerJb Evain <jbevain@gmail.com>
Wed, 9 Jan 2008 13:45:34 +0000 (13:45 -0000)
* ExpressionTest_Call.cs: fix wrong test.

svn path=/trunk/mcs/; revision=92501

mcs/class/System.Core/Test/System.Linq.Expressions/ChangeLog
mcs/class/System.Core/Test/System.Linq.Expressions/ExpressionTest_Call.cs

index a0c703df1979632d57643410ffd43666cdae269c..8d96f5459db51b685c6e083e431a897ae26d76da 100644 (file)
@@ -1,3 +1,7 @@
+2008-01-09  Jb Evain  <jbevain@novell.com>
+
+       * ExpressionTest_Call.cs: fix wrong test.
+
 2008-01-09  Jb Evain  <jbevain@novell.com>
 
        * ExpressionTest_TypeAs.cs: correct wrong test for numerics.
index 465f69b46e3c270d2c81d4c691ce9ad35e761418..9be2f80a6961bb4f51913668e1f4eb1bb4405459 100644 (file)
@@ -34,7 +34,7 @@ namespace MonoTests.System.Linq.Expressions
     public class ExpressionTest_CallWithType
     {                
         [Test]
-        [ExpectedException (typeof (NullReferenceException))]
+        [ExpectedException (typeof (ArgumentNullException))]
         public void Arg1Null ()
         {
             Expression.Call ((Type)null, "TestMethod", null, Expression.Constant (1));