Fix invalid test constraint
authorMarek Safar <marek.safar@gmail.com>
Wed, 5 Jan 2011 10:29:54 +0000 (10:29 +0000)
committerMarek Safar <marek.safar@gmail.com>
Wed, 5 Jan 2011 10:36:06 +0000 (10:36 +0000)
mcs/class/corlib/Test/System.Reflection/MethodInfoTest.cs

index da4bb887d5ffe2212736628c3f2b9cbb7ffde07c..7e1d7003d7831c166380a8edf4e38e6ff31a5aaf 100644 (file)
@@ -699,7 +699,7 @@ namespace MonoTests.System.Reflection
                        m.MakeGenericMethod (typeof (Type));
                }
 
-               public void TestMethod <T> () where T : string
+               public void TestMethod <T> () where T : Exception
                {
                }