* SqlDecimalTest.cs: Hide constant behind variable to avoid
compiler check.
svn path=/trunk/mcs/; revision=36528
+2004-11-25 Marek Safar <marek.safar@seznam.cz>
+
+ * SqlDecimalTest.cs: Hide constant behind variable to avoid\r
+ compiler check.\r
+\r
2004-07-20 Umadevi S <sumadevi@novell.com>
* SqlInt16Test.cs,SqlInt32Test.cs, SqlInt64Test.cs - added testcase for Modulus method (.NET 2.0)
AssertEquals ("#A01", (decimal)30.3098, Test.Value);\r
\r
try {\r
- SqlDecimal test = new SqlDecimal (Decimal.MaxValue + 1);\r
+ decimal d = Decimal.MaxValue;\r
+ SqlDecimal test = new SqlDecimal (d + 1);\r
Fail ("#A02"); \r
} catch (Exception e) {\r
AssertEquals ("#A03", typeof (OverflowException), e.GetType ());\r