2009-08-04 Rodrigo Kumpera <rkumpera@novell.com>
authorRodrigo Kumpera <kumpera@gmail.com>
Wed, 5 Aug 2009 00:07:42 +0000 (00:07 -0000)
committerRodrigo Kumpera <kumpera@gmail.com>
Wed, 5 Aug 2009 00:07:42 +0000 (00:07 -0000)
* MethodOnTypeBuilderInstTest.cs: Really fix the test.

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

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

index 5b69e52ab28145113cccd2cd719eda92b3665524..ad576522abcb22475bcf763a1142f5d09bd87238 100644 (file)
@@ -1,3 +1,7 @@
+2009-08-04 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * MethodOnTypeBuilderInstTest.cs: Really fix the test.
+
 2009-08-04 Rodrigo Kumpera  <rkumpera@novell.com>
 
        * MethodOnTypeBuilderInstTest.cs: Pointer inflation
index 496b7d7f4798e38f6d980f882873f25089410689..9ff579f5c637012024a83c51d5bf9471a05108cd 100644 (file)
@@ -606,9 +606,7 @@ namespace MonoTests.System.Reflection.Emit
                        Assert.AreEqual (typeof (float), new_params [1].ParameterType, "N#2");
                        Assert.AreEqual (typeof (float).MakeArrayType (), new_params [2].ParameterType, "N#3");
 
-                       //Assert.AreEqual (typeof (float).MakePointerType (), new_params [3].ParameterType, "N#4");
-                       //FIXME this is the current behavior when inflating pointers
-                       Assert.AreEqual (typeParams [0].MakePointerType (), old_params [3].ParameterType, "N#4");
+                       Assert.AreEqual (typeof (float).MakePointerType (), new_params [3].ParameterType, "N#4");
 
                        Assert.AreEqual (typeof (float).MakeByRefType (), new_params [4].ParameterType, "N#5");
                        Assert.AreEqual (typeof (GenericType <float>), new_params [5].ParameterType, "N#6");