Remove bogus asserts in DataSet tests (dotnet/corefx#39827)
authorStephen Toub <stoub@microsoft.com>
Sat, 27 Jul 2019 11:39:18 +0000 (07:39 -0400)
committerGitHub <noreply@github.com>
Sat, 27 Jul 2019 11:39:18 +0000 (07:39 -0400)
Commit migrated from https://github.com/dotnet/corefx/commit/610b0eb6e5e058f2c9eb04b4dc62778dc8e062d0

src/libraries/System.Data.Common/tests/System/Data/DataSetTest2.cs

index 616f267..d1fe158 100644 (file)
@@ -1440,21 +1440,15 @@ namespace System.Data.Tests
             //-------------------- begin to check ----------------------------------------------
             // merge 1 - make sure the merge method invoked without exceptions
             dsTarget.Merge(ds);
-            Assert.Equal("Success", "Success");
-
             CompareResults_1("merge 1", ds, dsTarget);
 
             //merge again,
             // merge 2 - make sure the merge method invoked without exceptions
             dsTarget.Merge(ds);
-            Assert.Equal("Success", "Success");
-
             CompareResults_1("merge 2", ds, dsTarget);
 
             // merge second dataset - make sure the merge method invoked without exceptions
             dsTarget1.Merge(ds);
-            Assert.Equal("Success", "Success");
-
             CompareResults_2("merge 3", ds, dsTarget1);
         }