[mono-config] use right type for result of strlen
[mono.git] / mcs / class / corlib / Test / System / ObjectTest.cs
index 22ced07f67656450f5f57f45f701ca74d99ca01d..4dd5a480fe628b5576c8017700689fec2d10057f 100644 (file)
@@ -12,6 +12,7 @@ using System.Globalization;
 namespace MonoTests.System
 {
 
+[TestFixture]
 public class ObjectTest
 {
        public ObjectTest() {}
@@ -108,7 +109,6 @@ public class ObjectTest
                Object y = new Object();
                Assert.AreEqual(x.ToString(), y.ToString(), "All Objects should have same string rep");
        }
-#if NET_2_0
        class Foo<T> {}
 
        [Test]
@@ -118,6 +118,5 @@ public class ObjectTest
                Assert.AreEqual ("MonoTests.System.ObjectTest+Foo`1[System.Object]", foo.ToString (), "Bad ToString of generic instance");
                        
        }
-#endif
 }
 }