2009-08-04 Rodrigo Kumpera <rkumpera@novell.com>
authorRodrigo Kumpera <kumpera@gmail.com>
Wed, 5 Aug 2009 00:07:21 +0000 (00:07 -0000)
committerRodrigo Kumpera <kumpera@gmail.com>
Wed, 5 Aug 2009 00:07:21 +0000 (00:07 -0000)
* MethodOnTypeBuilderInstTest.cs: Pointer inflation
was fixed. Use the right assert on the test.

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

mcs/class/corlib/Test/System.Reflection.Emit/ChangeLog
mcs/class/corlib/Test/System.Reflection.Emit/MethodOnTypeBuilderInstTest.cs

index 297dc302f85e380d56a7c2978a036630f3433d28..5b69e52ab28145113cccd2cd719eda92b3665524 100644 (file)
@@ -1,3 +1,8 @@
+2009-08-04 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * MethodOnTypeBuilderInstTest.cs: Pointer inflation
+       was fixed. Use the right assert on the test.
+
 2009-07-30 Rodrigo Kumpera  <rkumpera@novell.com>
 
        * TypeBuilderTest: Test for IsDefined.
index 69c4a7f5fecd273f7dee0344c6e63cfed133a637..496b7d7f4798e38f6d980f882873f25089410689 100644 (file)
@@ -596,9 +596,7 @@ namespace MonoTests.System.Reflection.Emit
                        Assert.AreEqual (typeof (double), old_params [1].ParameterType, "O#2");
                        Assert.AreEqual (typeof (double).MakeArrayType (), old_params [2].ParameterType, "O#3");
 
-                       //Assert.AreEqual (typeof (double).MakePointerType (), old_params [3].ParameterType, "O#4");
-                       //FIXME this is the current behavior when inflating pointers
-                       Assert.AreEqual (typeParams [0].MakePointerType (), old_params [3].ParameterType, "O#4");
+                       Assert.AreEqual (typeof (double).MakePointerType (), old_params [3].ParameterType, "O#4");
                        
                        Assert.AreEqual (typeof (double).MakeByRefType (), old_params [4].ParameterType, "O#5");
                        Assert.AreEqual (typeof (GenericType <double>), old_params [5].ParameterType, "O#6");