Author: miguel
Date: 2005-06-28 18:59:55 -0400 (Tue, 28 Jun 2005)
New Revision: 46683

Modified:
   trunk/mcs/tests/test-421.cs
Log:
Oops, fix test case

Modified: trunk/mcs/tests/test-421.cs
===================================================================
--- trunk/mcs/tests/test-421.cs 2005-06-28 22:57:41 UTC (rev 46682)
+++ trunk/mcs/tests/test-421.cs 2005-06-28 22:59:55 UTC (rev 46683)
@@ -20,7 +20,7 @@
 }
 
 public class C : B {
-  public static book ok = false;
+  public static bool ok = false;
   public override void SetObject (string foo) {
     Console.WriteLine ("C.SetObject {0}", foo);
     ok = true;
@@ -34,10 +34,9 @@
 
     // Tests that C.SetObject is called here
     i.SetObject ("hi");
-    C c = (C) i;
-    if (!c.ok)
+    if (!C.ok)
        return 1;
-    return 1;
+    return 0;
   }
 }
 

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to