2006-04-05 Atsushi Enomoto <atsushi@ximian.com>
[mono.git] / mcs / class / System / Test / System.ComponentModel / TypeDescriptorTests.cs
index 3a8766a19a75227c41dc8a197830e23eb310c898..9de8b4017fe8db5d86c134294735bbebe51f8bf2 100644 (file)
@@ -322,6 +322,11 @@ namespace MonoTests.System.ComponentModel
                        AssertEquals (typeof(TypeConverter), TypeDescriptor.GetConverter (new TestClass ()).GetType());
                        AssertEquals (typeof(TypeConverter), TypeDescriptor.GetConverter (new TestStruct ()).GetType());
                        AssertEquals (typeof(CollectionConverter), TypeDescriptor.GetConverter (new Hashtable ()).GetType());
+
+#if NET_2_0
+                       // Test from bug #76686
+                       AssertEquals (typeof (Int32Converter), TypeDescriptor.GetConverter ((int?) 1).GetType ());
+#endif
                }
                
                [Test]