[mcs] Remove NET_4_5 ifdef from the source files
[mono.git] / mcs / class / System.ComponentModel.DataAnnotations / Test / System.ComponentModel.DataAnnotations / CreditCardAttributeTest.cs
index 5040ed098aa6f7c7d9174f20b3701c0e19857d76..00cc74573f4a174f276b9c3882654a8e829926fc 100644 (file)
@@ -36,7 +36,6 @@ using MonoTests.Common;
 
 namespace MonoTests.System.ComponentModel.DataAnnotations
 {
-#if NET_4_5
        [TestFixture]
        public class CreditCardAttributeTest
        {
@@ -46,7 +45,7 @@ namespace MonoTests.System.ComponentModel.DataAnnotations
                        var sla = new CreditCardAttribute ();
 
                        Assert.IsTrue (sla.IsValid (null), "#A1-1");
-                       Assert.IsFalse (sla.IsValid (String.Empty), "#A1-2");
+                       Assert.IsTrue (sla.IsValid (String.Empty), "#A1-2");
                        Assert.IsFalse (sla.IsValid ("string"), "#A1-3");
                        Assert.IsTrue (sla.IsValid ("378282246310005"), "#A1-4");
                        Assert.IsTrue (sla.IsValid ("3782-8224-6310-005"), "#A1-5");
@@ -56,5 +55,4 @@ namespace MonoTests.System.ComponentModel.DataAnnotations
                        Assert.IsFalse (sla.IsValid (DateTime.Now), "#A1-8");
                }
        }
-#endif
 }