correct asserts in the test
authorKonstantin Triger <kostat@mono-cvs.ximian.com>
Mon, 1 Jan 2007 15:43:57 +0000 (15:43 -0000)
committerKonstantin Triger <kostat@mono-cvs.ximian.com>
Mon, 1 Jan 2007 15:43:57 +0000 (15:43 -0000)
svn path=/trunk/mcs/; revision=70317

mcs/class/System/Test/System.ComponentModel/DataObjectMethodAttributeTests.cs

index b738ae7605addc9cf163bbf95111999df2bb69ab..6b8ddb75b397f5df1520c0410d536710ecf93e11 100755 (executable)
@@ -47,11 +47,11 @@ namespace MonoTests.System.ComponentModel
                        DataObjectMethodAttribute a1 = new DataObjectMethodAttribute (DataObjectMethodType.Fill);
                        DataObjectMethodAttribute a2 = new DataObjectMethodAttribute (DataObjectMethodType.Delete, true);
 
-                       Assert.IsTrue (a1.Match (a2), "#1");
+                       Assert.IsFalse (a1.Match (a2), "#1");
 
                        DataObjectMethodAttribute a3 = new DataObjectMethodAttribute (DataObjectMethodType.Delete);
 
-                       Assert.IsFalse (a1.Match (a3), "#2");
+                       Assert.IsTrue (a2.Match (a3), "#2");
                }
 
                [Test]