diff options
Diffstat (limited to 'mcs/class/System.Web/Test/System.Web.UI.WebControls/FontInfoTest.cs')
-rw-r--r-- | mcs/class/System.Web/Test/System.Web.UI.WebControls/FontInfoTest.cs | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/mcs/class/System.Web/Test/System.Web.UI.WebControls/FontInfoTest.cs b/mcs/class/System.Web/Test/System.Web.UI.WebControls/FontInfoTest.cs index 4c1d102c2c7..b391dfd83fc 100644 --- a/mcs/class/System.Web/Test/System.Web.UI.WebControls/FontInfoTest.cs +++ b/mcs/class/System.Web/Test/System.Web.UI.WebControls/FontInfoTest.cs @@ -108,11 +108,7 @@ namespace MonoTests.System.Web.UI.WebControls Assert.AreEqual (true, copy.Font.Italic, "CopyFrom#1"); Assert.AreEqual (true, copy.Font.Bold, "CopyFrom#2"); -#if NET_2_0 Assert.AreEqual (false, copy.Font.Underline, "CopyFrom#3"); -#else - Assert.AreEqual (true, copy.Font.Underline, "CopyFrom#3"); -#endif } [Test] @@ -140,11 +136,7 @@ namespace MonoTests.System.Web.UI.WebControls copy2.Font.Overline = true; copy2.Font.CopyFrom (copy.Font); -#if NET_2_0 Assert.AreEqual (false, copy2.Font.Overline, "MergeWith#5"); -#else - Assert.AreEqual (true, copy2.Font.Overline, "MergeWith#5"); -#endif } [Test] |