File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -71,12 +71,12 @@ public static void AreEqual(
7171 {
7272 string reason = string . Empty ;
7373
74- if ( AreCollectionsEqual ( expected ,
74+ if ( ! AreCollectionsEqual ( expected ,
7575 actual ,
7676 ref reason ) )
7777 {
7878 Assert . HandleFail (
79- "CollectionAssert.AreNotEqual " ,
79+ "CollectionAssert.AreEqual " ,
8080 string . Format ( CollectionEqualReason , new object [ 2 ]
8181 {
8282 message ,
@@ -99,12 +99,12 @@ public static void AreNotEqual(
9999 {
100100 string reason = string . Empty ;
101101
102- if ( ! AreCollectionsEqual ( notExpected ,
102+ if ( AreCollectionsEqual ( notExpected ,
103103 actual ,
104104 ref reason ) )
105105 {
106106 Assert . HandleFail (
107- "CollectionAssert.AreEqual " ,
107+ "CollectionAssert.AreNotEqual " ,
108108 string . Format ( CollectionEqualReason , new object [ 2 ]
109109 {
110110 message ,
You can’t perform that action at this time.
0 commit comments